Skip to content

Commit 2867e2a

Browse files
authored
generate MapFile on compilation
1 parent a063594 commit 2867e2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ EE_OBJS = main.o \
6060
modelname.o libcdvd_add.o OSDHistory.o OSDInit.o OSDConfig.o \
6161
$(EMBEDDED_STUFF) \
6262
$(IOP_OBJS)
63-
6463
EMBEDDED_STUFF = icon_sys_A.o icon_sys_J.o icon_sys_C.o
6564

65+
MAPFILE = PS2BBL_MAP.TXT
6666
EE_CFLAGS = -Wall
6767
EE_CFLAGS += -fdata-sections -ffunction-sections -DREPORT_FATAL_ERRORS
6868
EE_LDFLAGS += -L$(PS2SDK)/ports/lib
69-
EE_LDFLAGS += -Wl,--gc-sections -Wno-sign-compare
69+
EE_LDFLAGS += -Wl,--gc-sections -Wno-sign-compare -Wl,-Map,$(MAPFILE)
7070
EE_LIBS += -ldebug -lmc -lpatches
7171
EE_INCS += -Iinclude -I$(PS2SDK)/ports/include
7272
EE_CFLAGS += -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DPATCHLEVEL=\"$(PATCHLEVEL)\" -DSTATUS=\"$(STATUS)\"

0 commit comments

Comments
 (0)