mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
misc: get rid of unused LOADADDRESS define in makefiles
Change-Id: I990aaca9b0b8230efba09c87ace2430fbfa29b74
This commit is contained in:
parent
cf1e3fd5a3
commit
5a236963e4
4 changed files with 4 additions and 5 deletions
|
|
@ -95,7 +95,7 @@ $(PLUGINLIB): $(PLUGINLIB_OBJ)
|
||||||
$(PLUGINLINK_LDS): $(PLUGIN_LDS) $(CONFIGFILE)
|
$(PLUGINLINK_LDS): $(PLUGIN_LDS) $(CONFIGFILE)
|
||||||
$(call PRINTS,PP $(@F))
|
$(call PRINTS,PP $(@F))
|
||||||
$(shell mkdir -p $(dir $@))
|
$(shell mkdir -p $(dir $@))
|
||||||
$(call preprocess2file,$<,$@,-DLOADADDRESS=$(LOADADDRESS))
|
$(call preprocess2file,$<,$@,)
|
||||||
|
|
||||||
$(OVERLAYREF_LDS): $(PLUGIN_LDS)
|
$(OVERLAYREF_LDS): $(PLUGIN_LDS)
|
||||||
$(call PRINTS,PP $(@F))
|
$(call PRINTS,PP $(@F))
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ EXTRA_SPECIAL_LIBS = $(call a2lnk, $(CORE_LIBS))
|
||||||
|
|
||||||
$(BOOTLINK): $(BOOTLDS) $(CONFIGFILE)
|
$(BOOTLINK): $(BOOTLDS) $(CONFIGFILE)
|
||||||
$(call PRINTS,PP $(@F))
|
$(call PRINTS,PP $(@F))
|
||||||
$(call preprocess2file,$<,$@,-DLOADADDRESS=$(LOADADDRESS))
|
$(call preprocess2file,$<,$@,)
|
||||||
|
|
||||||
$(BUILDDIR)/bootloader.elf: $$(OBJ) $(FIRMLIB) $(CORE_LIBS) $$(BOOTLINK)
|
$(BUILDDIR)/bootloader.elf: $$(OBJ) $(FIRMLIB) $(CORE_LIBS) $$(BOOTLINK)
|
||||||
$(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \
|
$(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \
|
||||||
|
|
|
||||||
1
tools/configure
vendored
1
tools/configure
vendored
|
|
@ -4909,7 +4909,6 @@ export APPLICATION=${application}
|
||||||
export SIMDIR=\$(ROOTDIR)/uisimulator/sdl
|
export SIMDIR=\$(ROOTDIR)/uisimulator/sdl
|
||||||
export GCCOPTS=${GCCOPTS}
|
export GCCOPTS=${GCCOPTS}
|
||||||
export TARGET_INC=${TARGET_INC}
|
export TARGET_INC=${TARGET_INC}
|
||||||
export LOADADDRESS=${loadaddress}
|
|
||||||
export SHARED_LDFLAGS=${SHARED_LDFLAGS}
|
export SHARED_LDFLAGS=${SHARED_LDFLAGS}
|
||||||
export SHARED_CFLAGS=${SHARED_CFLAGS}
|
export SHARED_CFLAGS=${SHARED_CFLAGS}
|
||||||
export LDOPTS=${LDOPTS}
|
export LDOPTS=${LDOPTS}
|
||||||
|
|
|
||||||
|
|
@ -260,11 +260,11 @@ LINKROM := $(BUILDDIR)/rom.link
|
||||||
|
|
||||||
$(LINKRAM): $(RAMLDS) $(CONFIGFILE)
|
$(LINKRAM): $(RAMLDS) $(CONFIGFILE)
|
||||||
$(call PRINTS,PP $(@F))
|
$(call PRINTS,PP $(@F))
|
||||||
$(call preprocess2file,$<,$@,-DLOADADDRESS=$(LOADADDRESS))
|
$(call preprocess2file,$<,$@,)
|
||||||
|
|
||||||
$(LINKROM): $(ROMLDS)
|
$(LINKROM): $(ROMLDS)
|
||||||
$(call PRINTS,PP $(@F))
|
$(call PRINTS,PP $(@F))
|
||||||
$(call preprocess2file,$<,$@,-DLOADADDRESS=$(LOADADDRESS))
|
$(call preprocess2file,$<,$@,)
|
||||||
|
|
||||||
# Note: make sure -Wl,--gc-sections comes before -T in the linker options.
|
# Note: make sure -Wl,--gc-sections comes before -T in the linker options.
|
||||||
# Having the latter first caused crashes on (at least) mini2g.
|
# Having the latter first caused crashes on (at least) mini2g.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue