Skip to content

Commit

Permalink
generate MapFile on compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps committed Oct 4, 2024
1 parent a063594 commit 593edd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ asm/
*.XLF
*.dat
bin/CONFIG.INI
PS2BBL.map
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ EE_OBJS = main.o \
modelname.o libcdvd_add.o OSDHistory.o OSDInit.o OSDConfig.o \
$(EMBEDDED_STUFF) \
$(IOP_OBJS)

EMBEDDED_STUFF = icon_sys_A.o icon_sys_J.o icon_sys_C.o

MAPFILE = PS2BBL.map
EE_CFLAGS = -Wall
EE_CFLAGS += -fdata-sections -ffunction-sections -DREPORT_FATAL_ERRORS
EE_LDFLAGS += -L$(PS2SDK)/ports/lib
EE_LDFLAGS += -Wl,--gc-sections -Wno-sign-compare
EE_LDFLAGS += -Wl,--gc-sections -Wno-sign-compare -Wl,-Map,$(MAPFILE)
EE_LIBS += -ldebug -lmc -lpatches
EE_INCS += -Iinclude -I$(PS2SDK)/ports/include
EE_CFLAGS += -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -DPATCHLEVEL=\"$(PATCHLEVEL)\" -DSTATUS=\"$(STATUS)\"
Expand Down

0 comments on commit 593edd5

Please sign in to comment.