mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
3ds: Minor Makefile changes
- Fix the macOS check so that it only includes the linker command line and not the whole block - Remove a dash from the .map file name, likely a typo - Don't remove the .elf file after packaging, so that it can be used to debug any issues with the build Change-Id: I9639263169e027c9702ac617eb8209b1707e11f4
This commit is contained in:
parent
aa834e83aa
commit
78a785d656
1 changed files with 2 additions and 6 deletions
|
|
@ -87,15 +87,11 @@ ifeq ($(UNAME), Darwin)
|
|||
$(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS) $(GLOBAL_LDOPTS) -Wl,$(LDMAP_OPT),$(BUILDDIR)/rockbox.map
|
||||
else
|
||||
$(call PRINTS,LD $(BINARY))$(CC) -o $@ -Wl,--start-group $^ -Wl,--end-group $(LDOPTS) $(GLOBAL_LDOPTS) \
|
||||
-Wl,$(LDMAP_OPT),$(BUILDDIR)/rockbox-.map
|
||||
-Wl,$(LDMAP_OPT),$(BUILDDIR)/rockbox.map
|
||||
endif
|
||||
@mv $(BINARY) $(BINARY).elf
|
||||
smdhtool --create "$(APP_TITLE)" "$(APP_DESCRIPTION)" "$(APP_AUTHOR)" $(APP_ICON) "rockbox.smdh"
|
||||
3dsxtool $(BINARY).elf $(BINARY).3dsx --smdh="rockbox.smdh"
|
||||
$(BANNERTOOL) makebanner $(BANNER_IMAGE_ARG) "$(BANNER_IMAGE)" $(BANNER_AUDIO_ARG) "$(BANNER_AUDIO)" -o "$(BUILDDIR)/banner.bnr"
|
||||
$(BANNERTOOL) makesmdh -s "$(APP_TITLE)" -l "$(APP_DESCRIPTION)" -p "$(APP_AUTHOR)" -i "$(APP_ICON)" -f "$(ICON_FLAGS)" -o "$(BUILDDIR)/icon.icn"
|
||||
$(MAKEROM) -f cia -o "$(BINARY).cia" -target t -exefslogo $(MAKEROM_ARGS)
|
||||
ifndef DEBUG
|
||||
$(SILENT)rm $(BINARY).elf
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue