diff options
| author | Max Horn | 2010-11-18 17:01:30 +0000 |
|---|---|---|
| committer | Max Horn | 2010-11-18 17:01:30 +0000 |
| commit | b8f00267398d2a1722ed550beee8178bc2a9ac6f (patch) | |
| tree | 9591961d3c0a69f6bc02f42a77d60d000a7e7fc8 /backends/platform/ds/arm9/makefile | |
| parent | 1621e7d5c0ea5aca51c72040fffd589f41573847 (diff) | |
| download | scummvm-rg350-b8f00267398d2a1722ed550beee8178bc2a9ac6f.tar.gz scummvm-rg350-b8f00267398d2a1722ed550beee8178bc2a9ac6f.tar.bz2 scummvm-rg350-b8f00267398d2a1722ed550beee8178bc2a9ac6f.zip | |
DS: Port changes from 1.2.0 branch to trunk
svn-id: r54325
Diffstat (limited to 'backends/platform/ds/arm9/makefile')
| -rw-r--r-- | backends/platform/ds/arm9/makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/makefile b/backends/platform/ds/arm9/makefile index bf9fc1d826..781738265c 100644 --- a/backends/platform/ds/arm9/makefile +++ b/backends/platform/ds/arm9/makefile @@ -104,6 +104,10 @@ vpath %.s $(srcdir) # I actually had to use # ./configure --host=arm-elf --enable-speed --enable-sso -enable-fpm=arm CFLAGS='-specs=ds_arm9.specs -mthumb-interwork' LDFLAGS='C:/Progra~1/devkitpro/libnds/lib/libnds9.a' --disable-shared --disable-debugging + +# handy command to find where the big symbols are in the ELF: +# arm-eabi-nm -S --radix=d --demangle scummvm.elf |sort -n -r --key=2 |less + ARM = 1 USE_ARM_SOUND_ASM = 1 USE_ARM_COSTUME_ASM = 1 @@ -241,7 +245,7 @@ ifdef USE_MAD DEFINES += -DUSE_MAD endif -DEFINES += -DREDUCE_MEMORY_USAGE +DEFINES += -DREDUCE_MEMORY_USAGE -DDISABLE_DEBUGGER -DUSE_TEXT_CONSOLE -DDISABLE_MASS_ADD -DDISABLE_NES_APU LDFLAGS = -specs=ds_arm9.specs -mthumb-interwork -mno-fpu -Wl,-Map,map.txt -Wl,--gc-sections @@ -345,7 +349,7 @@ MODULE_DIRS += . ndsall: @[ -d $(BUILD) ] || mkdir -p $(BUILD) - make -C ./$(BUILD) -f ../makefile scummvm.nds scummvm.ds.gba + $(MAKE) -C ./$(BUILD) -f ../makefile scummvm.nds scummvm.ds.gba include $(srcdir)/Makefile.common |
