Author: stepan Date: Fri Apr 2 18:18:59 2010 New Revision: 122 URL: http://tracker.coreboot.org/trac/filo/changeset/122
Log: As suggested by Wang Qing Pei: Fix FILO compilation without extra parameters on AMD64
Signed-off-by: Wang Qing Pei wangqingpei@gmail.com Signed-off-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/filo/Makefile
Modified: trunk/filo/Makefile ============================================================================== --- trunk/filo/Makefile Fri Mar 26 15:32:47 2010 (r121) +++ trunk/filo/Makefile Fri Apr 2 18:18:59 2010 (r122) @@ -41,15 +41,17 @@ Q := @ endif
-CC = gcc +CROSS_PREFIX = +CC = $(CROSS_PREFIX)gcc -m32 +AS = $(CROSS_PREFIX)as --32 +LD = $(CROSS_PREFIX)ld -belf32-i386 +STRIP = $(CROSS_PREFIX)strip +NM = $(CROSS_PREFIX)nm HOSTCC = gcc HOSTCXX = g++ HOSTCFLAGS := -I$(srck) -I$(objk) -pipe HOSTCXXFLAGS := -I$(srck) -I$(objk) -pipe
-STRIP ?= strip -NM ?= nm - ifeq ($(strip $(HAVE_DOTCONFIG)),)
all: config