the patch make filo can compiling well without any parameters of make

Signed-off-by: Wang Qing Pei <[email protected]>


-- 
Wang Qing Pei
MSN:[email protected] <msn%[email protected]>
Gmail:[email protected] <gmail%[email protected]>
Phone:86+13426369984
===================================================================
--- Makefile	(revision 121)
+++ Makefile	(working copy)
@@ -93,8 +94,8 @@
 
 GCCINCDIR = $(shell $(CC) -print-search-dirs | head -n 1 | cut -d' ' -f2)include
 CPPFLAGS = -nostdinc -imacros $(obj)/config.h -Iinclude -I$(GCCINCDIR) -MD
-CFLAGS += $(STACKPROTECT) $(INCLUDES) -Wall -Os -fomit-frame-pointer -fno-common -ffreestanding -fno-strict-aliasing -Wshadow -pipe
-
+CFLAGS += $(STACKPROTECT) $(INCLUDES) -Wall -m32 -Os -fomit-frame-pointer -fno-common -ffreestanding -fno-strict-aliasing -Wshadow -pipe
+ASFLAGS += --32
 TARGET  = $(obj)/filo.elf
 
 include $(src)/.config
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to