Browse Source

output the .map file as well, this helps figure out where things are..

irr_shared
John-Mark Gurney 3 years ago
parent
commit
1f22cf570d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@@ -143,8 +143,8 @@ depend: $(DEPENDS)
.test_deps: $(LIBLORA_TEST_SRCS) .test_deps: $(LIBLORA_TEST_SRCS)
$(CC) $(CFLAGS) $(.ALLSRC) -MM | sed -e 's/\.o:/\.no:/' > $@ || (rm -f $@ && false) $(CC) $(CFLAGS) $(.ALLSRC) -MM | sed -e 's/\.o:/\.no:/' > $@ || (rm -f $@ && false)


$(PROG)$(PROGEXT): $(OBJS)
$(ARMCC) $(ARMTARGET) -o $@ $(.ALLSRC) -T$(LINKER_SCRIPT) --specs=nosys.specs -Wl,--gc-sections -static --specs=nano.specs -Wl,--start-group -lc -lm -Wl,--end-group
$(PROG)$(PROGEXT) $(PROG).map: $(OBJS)
$(ARMCC) $(ARMTARGET) -o $(PROG)$(PROGEXT) $(.ALLSRC) -T$(LINKER_SCRIPT) --specs=nosys.specs -Wl,-Map="$(PROG).map" -Wl,--gc-sections -static --specs=nano.specs -Wl,--start-group -lc -lm -Wl,--end-group


$(PROG).list: $(PROG)$(PROGEXT) $(PROG).list: $(PROG)$(PROGEXT)
$(ARMOBJDUMP) -h -S $(.ALLSRC) > $@ || (rm -f $@ && false) $(ARMOBJDUMP) -h -S $(.ALLSRC) > $@ || (rm -f $@ && false)


Loading…
Cancel
Save