Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Install Headers Target
@ 2007-01-18  8:45 Daniel Laird
  2007-01-18 11:06 ` Thiemo Seufer
  2007-01-18 12:53 ` Daniel Laird
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Laird @ 2007-01-18  8:45 UTC (permalink / raw)
  To: linux-mips


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?

Hope it helps
Daniel Laird

-- 
View this message in context: http://www.nabble.com/Install-Headers-Target-tf3032928.html#a8426876
Sent from the linux-mips main mailing list archive at Nabble.com.

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

* Re: Install Headers Target
  2007-01-18  8:45 Install Headers Target Daniel Laird
@ 2007-01-18 11:06 ` Thiemo Seufer
  2007-01-18 11:22   ` Atsushi Nemoto
  2007-01-18 12:53 ` Daniel Laird
  1 sibling, 1 reply; 4+ messages in thread
From: Thiemo Seufer @ 2007-01-18 11:06 UTC (permalink / raw)
  To: Daniel Laird; +Cc: linux-mips

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

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

* Re: Install Headers Target
  2007-01-18 11:06 ` Thiemo Seufer
@ 2007-01-18 11:22   ` Atsushi Nemoto
  0 siblings, 0 replies; 4+ messages in thread
From: Atsushi Nemoto @ 2007-01-18 11:22 UTC (permalink / raw)
  To: ths; +Cc: danieljlaird, linux-mips

On Thu, 18 Jan 2007 11:06:43 +0000, Thiemo Seufer <ths@networkno.de> wrote:
> > 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.

uClibc svn already do the same.  If any references to asm/asm.h,
asm/regdef was remained in uClibc, please fix them.

---
Atsushi Nemoto

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

* Re: Install Headers Target
  2007-01-18  8:45 Install Headers Target Daniel Laird
  2007-01-18 11:06 ` Thiemo Seufer
@ 2007-01-18 12:53 ` Daniel Laird
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Laird @ 2007-01-18 12:53 UTC (permalink / raw)
  To: linux-mips




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?
> 
> Hope it helps
> Daniel Laird
> 
> 
Ok, Must be because I am using a released version of uClibc (hence 0.9.28)
and therefore not picked up the necessary fixes.  This should go when 0.9.29
is released!!
Daniel 
-- 
View this message in context: http://www.nabble.com/Install-Headers-Target-tf3032928.html#a8430190
Sent from the linux-mips main mailing list archive at Nabble.com.

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

end of thread, other threads:[~2007-01-18 12:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-18  8:45 Install Headers Target Daniel Laird
2007-01-18 11:06 ` Thiemo Seufer
2007-01-18 11:22   ` Atsushi Nemoto
2007-01-18 12:53 ` Daniel Laird

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