lkml.org 
[lkml]   [2004]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Can't cross compile IA32 kernels using separate build directory
On Tue, Aug 03, 2004 at 01:07:26PM +1000, Peter Chubb wrote:
>
> 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.

I have boot.h in /usr/include/ thats why I did not see it. Running i386 as
you already guessed.
Knowledge of include2 should be restricted to the core kbuild files though,
so I will se if I can come up with something smarter.

That would require splitting CPPFLAGS in two parts and we already have
enough variables...

Sam

>
> 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
>
> # ---------------------------------------------------------------------------
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.029 / U:1.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site