summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2017-04-07 22:50:40 -0700
committerYamaArashi <shadow962@live.com>2017-04-07 22:50:40 -0700
commit30310871d369055715374958e5244f84c028da7f (patch)
tree7b26ebde045d48052a5b12ca3ed3fbc649186346
parent9d39cca19c6987c5e861f9bce9979e5516e9eaf5 (diff)
fix map file name
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cd97efbbd..1e78d4aae 100644
--- a/Makefile
+++ b/Makefile
@@ -152,7 +152,7 @@ build/$1/ld_script.ld: ld_script.txt build/$1/sym_bss.ld build/$1/sym_common.ld
cd build/$1 && sed -f ../../ld_script.sed ../../ld_script.txt | sed "s#tools/#../../tools/#g" | sed "s#sound/#../../sound/#g" >ld_script.ld
poke$1.elf: build/$1/ld_script.ld $$($1_OBJS)
- cd build/$1 && $$(LD) -T ld_script.ld -T ../../shared_syms.txt -Map ../../$$*.map -o ../../$$@ $$($1_OBJS_REL) ../../$$(LIBGCC)
+ cd build/$1 && $$(LD) -T ld_script.ld -T ../../shared_syms.txt -Map ../../poke$1.map -o ../../$$@ $$($1_OBJS_REL) ../../$$(LIBGCC)
poke$1.gba: %.gba: %.elf
$$(OBJCOPY) -O binary --gap-fill 0xFF --pad-to 0x9000000 $$< $$@