mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Can't cross compile IA32 kernels using separate build directory
@ 2004-08-03  3:07 Peter Chubb
  2004-08-04 21:05 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Chubb @ 2004-08-03  3:07 UTC (permalink / raw)
  To: sam; +Cc: linux-kernel


Hi Sam,
   Trying to cross compile a kernel for IA32, on a system without an asm/boot.h
fails (e.g., IA64)

Here's a patch to add in -Iinclude2 when building tools/build.o so that 
asm/boot.h is picked up from the right place.

Index: linux-2.6-wip/arch/i386/boot/Makefile
===================================================================
--- linux-2.6-wip.orig/arch/i386/boot/Makefile	2004-08-03 12:58:02.287223257 +1000
+++ linux-2.6-wip/arch/i386/boot/Makefile	2004-08-03 12:59:34.661245563 +1000
@@ -31,7 +31,7 @@
 
 host-progs	:= tools/build
 
-HOSTCFLAGS_build.o := -Iinclude
+HOSTCFLAGS_build.o := -Iinclude -Iinclude2
 
 # ---------------------------------------------------------------------------
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-04 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-03  3:07 [PATCH] Can't cross compile IA32 kernels using separate build directory Peter Chubb
2004-08-04 21:05 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®