From ca99f8efa49fbc053ea3a264c5cc23bda3b2a50c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 12 Oct 2008 22:10:22 +0000 Subject: 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 --- flash/bootloader/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flash/bootloader/Makefile') diff --git a/flash/bootloader/Makefile b/flash/bootloader/Makefile index 6872fcb..e7bd17a 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 -- cgit v1.1