summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2007-02-22 10:05:39 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2007-02-22 10:05:39 +0000
commitb58e4e79ff081e1cc4d54208dde4a30c4a776d67 (patch)
tree1f26f643a8d4621fd22d850551f297e60c16199b /tools
parentcc32a1f3b169115f5bff50b12e451ffe26921a4c (diff)
downloadrockbox-b58e4e79ff081e1cc4d54208dde4a30c4a776d67.tar.gz
rockbox-b58e4e79ff081e1cc4d54208dde4a30c4a776d67.tar.bz2
rockbox-b58e4e79ff081e1cc4d54208dde4a30c4a776d67.zip
Use -ffunction-sections and -fdata-sections for all bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12449 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index f2626492fb..0dc191a920 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1261,11 +1261,9 @@ fi
if test -n "$archosrom"; then
# Archos SH-based players do this somewhat differently for
# some reason
- extradefines="-DBOOTLOADER -ffunction-sections -fdata-sections"
appsdir='\$(ROOTDIR)/flash/bootbox'
apps="bootbox"
else
- extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES
appsdir='\$(ROOTDIR)/bootloader'
apps="bootloader"
flash=""
@@ -1276,6 +1274,7 @@ fi
output=$bootoutput
fi
fi
+ extradefines="-DBOOTLOADER -ffunction-sections -fdata-sections"
bootloader="1"
echo "Bootloader build selected"
;;