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
> --- 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.