[PATCH] fix cross compile on x86_64

From: Olaf Hering
Date: Wed Oct 20 2004 - 13:42:39 EST



make all fails while building a helper app:

arch/x86_64/boot/tools/build.c:36:22: asm/boot.h: No such file or directory

Possible that make O=$foo did never work on x86_64.

This patch fixes it for me.

diff -purN linux-2.6.9-bk4.orig/arch/x86_64/boot/Makefile linux-2.6.9/arch/x86_64/boot/Makefile
--- linux-2.6.9-bk4.orig/arch/x86_64/boot/Makefile 2004-10-18 23:53:51.000000000 +0200
+++ linux-2.6.9/arch/x86_64/boot/Makefile 2004-10-20 20:29:31.368618554 +0200
@@ -31,6 +31,7 @@ targets := vmlinux.bin bootsect bootsec
EXTRA_CFLAGS := -m32

hostprogs-y := tools/build
+HOST_EXTRACFLAGS += $(LINUXINCLUDE)
subdir- := compressed/ #Let make clean descend in compressed/
# ---------------------------------------------------------------------------

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÃRNBERG
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/