* [PATCH] fix cross compile on x86_64
@ 2004-10-20 18:35 Olaf Hering
2004-10-20 19:16 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2004-10-20 18:35 UTC (permalink / raw)
To: Andreas Kleen, Sam Ravnborg; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-21 6:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20 18:35 [PATCH] fix cross compile on x86_64 Olaf Hering
2004-10-20 19:16 ` Andi Kleen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.