Force yaboot to always build 32-bit.
authorTony Breeds <tony@bakeyournoodle.com>
Thu, 4 Aug 2011 05:02:04 +0000 (15:02 +1000)
committerTony Breeds <tony@bakeyournoodle.com>
Tue, 18 Oct 2011 04:11:10 +0000 (15:11 +1100)
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Makefile

index b46165f..44cec27 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ OBJCOPY               := $(CROSS)objcopy
 
 # The flags for the yaboot binary.
 #
-YBCFLAGS = -Os $(CFLAGS) -nostdinc -Wall -isystem `$(CC) -m32 -print-file-name=include` -fsigned-char
+YBCFLAGS = -Os -m32 $(CFLAGS) -nostdinc -Wall -isystem `$(CC) -m32 -print-file-name=include` -fsigned-char
 YBCFLAGS += -DVERSION=\"${VERSION}${VERSIONEXTRA}\"    #"
 YBCFLAGS += -DTEXTADDR=$(TEXTADDR) -DDEBUG=$(DEBUG)
 YBCFLAGS += -DMALLOCADDR=$(MALLOCADDR) -DMALLOCSIZE=$(MALLOCSIZE)