summaryrefslogtreecommitdiffstats
path: root/flash/bootloader/Makefile
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-10-12 22:10:22 +0000
committerJens Arnold <amiconn@rockbox.org>2008-10-12 22:10:22 +0000
commitca99f8efa49fbc053ea3a264c5cc23bda3b2a50c (patch)
treef0924d9866b1a6323ca58be4b5e67e42ea8c5753 /flash/bootloader/Makefile
parent142ac2a35af99ddd80636b8973c5ee082550c215 (diff)
downloadrockbox-ca99f8efa49fbc053ea3a264c5cc23bda3b2a50c.tar.gz
rockbox-ca99f8efa49fbc053ea3a264c5cc23bda3b2a50c.tar.bz2
rockbox-ca99f8efa49fbc053ea3a264c5cc23bda3b2a50c.zip
Archos flash loader: compile with -Os and make all internal functions static to save space. main() and _main() must not be static or they wouldn't end up in IRAM for execution. * Also make some bootbox functions static, and drop the useless return value from charging_screen().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18791 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash/bootloader/Makefile')
-rw-r--r--flash/bootloader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/flash/bootloader/Makefile b/flash/bootloader/Makefile
index 6872fcbc99..e7bd17aae9 100644
--- a/flash/bootloader/Makefile
+++ b/flash/bootloader/Makefile
@@ -35,7 +35,7 @@ DEFINES= -DPLATFORM_$(PLATFORM)
OBJDIR := .
-CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(DEFINES)
+CFLAGS = -Os -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(DEFINES)
AFLAGS += -small -relax