linux-mips
[Top] [All Lists]

Re: Install Headers Target

To: Daniel Laird <danieljlaird@hotmail.com>
Subject: Re: Install Headers Target
From: Thiemo Seufer <ths@networkno.de>
Date: Thu, 18 Jan 2007 11:06:43 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <8426876.post@talk.nabble.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <8426876.post@talk.nabble.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
Daniel Laird wrote:
> 
> I have been trying to build a kernel, toolchain and rootfs using buildroot.
> 
> Buildroot uses the install-headers target of the kernel to get the headers
> to build a toolchain.
> I tried to build a the uClibc-gcc toolchain combo was missing 2 header files
> to do the build.
> This I fixed by patching Kbuild in asm-mips dir
> See below:
> diff -urN overlay_orig/include/asm-mips/Kbuild
> overlay/include/asm-mips/Kbuild
> --- a/include/asm-mips/Kbuild 2007-01-17 12:57:20.000000000 +0000
> +++b/include/asm-mips/Kbuild  2007-01-17 12:53:46.000000000 +0000
> @@ -1,3 +1,3 @@
>  include include/asm-generic/Kbuild.asm
> 
> -header-y += cachectl.h sgidefs.h sysmips.h
> +header-y += asm.h cachectl.h regdef.h sgidefs.h sysmips.h
> 
> Is it possible for this to go in? (Any one any problems with this patch)
> Is this mailing list the correct one for this patch?

For a glibc configuration those files are provided by glibc. I think
uClibc should do the same, the files aren't Linux specific.


Thiemo

<Prev in Thread] Current Thread [Next in Thread>