summaryrefslogtreecommitdiffstats
path: root/payloads/libpayload/sample/Makefile
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-03-20 20:46:44 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-20 20:46:44 +0000
commit14a3feb0686b9c97034de828844f52c75ccc42d1 (patch)
treea3e4a54ab6796cc60b045a8f03bf23ff5a000d7e /payloads/libpayload/sample/Makefile
parent35845a2acb869ea028c98c8c2b912ae3c61053e2 (diff)
downloadcoreboot-14a3feb0686b9c97034de828844f52c75ccc42d1.tar.gz
coreboot-14a3feb0686b9c97034de828844f52c75ccc42d1.tar.bz2
coreboot-14a3feb0686b9c97034de828844f52c75ccc42d1.zip
Fix code to allow usage of -Wall in libpayload and the sample (trivial).
This even fixes two bugs: - get_cpu_speed() didn't return a value. - The line win->_color - PAIR_NUMBER(0); should actually be win->_color = PAIR_NUMBER(0); Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3182 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/sample/Makefile')
-rw-r--r--payloads/libpayload/sample/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/sample/Makefile b/payloads/libpayload/sample/Makefile
index 9ab3249e1254..1daea5f6ec60 100644
--- a/payloads/libpayload/sample/Makefile
+++ b/payloads/libpayload/sample/Makefile
@@ -37,7 +37,7 @@ INCLUDES += -I$(shell $(CC) $(CROSS_CFLAGS) -print-search-dirs | head -n 1 | cut
LIBPAYLOAD = ../libpayload.a
LIBGCC := $(shell $(CC) $(CROSS_CFLAGS) -print-libgcc-file-name)
-CFLAGS := -Werror -Os -fno-stack-protector -nostdinc $(INCLUDES)
+CFLAGS := -Wall -Werror -Os -fno-stack-protector -nostdinc $(INCLUDES)
all: hello.elf