* [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
* Re: [PATCH] fix cross compile on x86_64
2004-10-20 18:35 [PATCH] fix cross compile on x86_64 Olaf Hering
@ 2004-10-20 19:16 ` Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2004-10-20 19:16 UTC (permalink / raw)
To: Olaf Hering; +Cc: Andreas Kleen, Sam Ravnborg, linux-kernel
On Wed, Oct 20, 2004 at 08:35:04PM +0200, Olaf Hering wrote:
>
> 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.
It works just fine with make bzImage and make. I'm not sure what
"make all" is good for though.
>
> This patch fixes it for me.
Thanks.
-Andi
^ 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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).