public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* linux-headers (powerpc v. ppc)
@ 2008-03-05  2:34 Ron Sass
  2008-03-05  2:51 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Ron Sass @ 2008-03-05  2:34 UTC (permalink / raw)
  To: linuxppc-embedded


I hope this is to the right list... the recent discussion of
retiring ppc arch encouraged me to ask.

Ultimately, I'm trying to build a native PPC 405 compiler (i.e
Canadian cross).  I've got a crosstool's generated cross-compiler
and I have glibc and a native bintools on my 405 root filesystem.

What I'd like to do is:

make ARCH=ppc headers_check
make ARCH=ppc INSTALL_HDR_PATH=dest headers_install

but that's not supported in the ppc tree.

So my question is, can I just ...

make ARCH=powerpc headers_check
make ARCH=powerpc INSTALL_HDR_PATH=dest headers_install

and then switch to ppc when I build the kernel?

I suspect it will work but just don't know if there is a
subtle difference that will come back to haunt me at
run-time.

Any advice would be greatly appreciated!

Ron

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

* Re: linux-headers (powerpc v. ppc)
  2008-03-05  2:34 linux-headers (powerpc v. ppc) Ron Sass
@ 2008-03-05  2:51 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2008-03-05  2:51 UTC (permalink / raw)
  To: linuxppc-embedded, Ron Sass

On Wednesday 05 March 2008, Ron Sass wrote:
> So my question is, can I just ...
> 
> make ARCH=powerpc headers_check
> make ARCH=powerpc INSTALL_HDR_PATH=dest headers_install
> 
> and then switch to ppc when I build the kernel?

Yes, that is exactly what you are meant to do. The headers
need to be compatible, otherwise we would have bigger problems
running user space programs built against an older kernel
on current machines.

	Arnd <><

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

end of thread, other threads:[~2008-03-05  2:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-05  2:34 linux-headers (powerpc v. ppc) Ron Sass
2008-03-05  2:51 ` Arnd Bergmann

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