Re: How do arch/ppc and arch/powerpc differ?

From: Adrian Bunk
Date: Sun Mar 02 2008 - 03:11:28 EST


On Sun, Mar 02, 2008 at 04:02:56PM +0900, Tetsuo Handa wrote:
> Hello.
>
> According to Documentation/SubmitChecklist,
> ppc64 is a good architecture for cross-compilation checking.
> I've just set up cross compiling environment for ppc64
> using "crossdev -t ppc64" on Gentoo 2007.0 environment.
>
> Now I'm trying to modify Makefile to build kernel for ppc64.
> I've got a question here.
>
> ARCH ?= powerpc
> CROSS_COMPILE ?= powerpc64-unknown-linux-gnu-
>
> Which keyword ("ppc" or "powerpc") do I need to set for ARCH
> to do cross-compilation checking?

powerpc

> How do they differ?

Documentation/feature-removal-schedule.txt says:

What: The arch/ppc and include/asm-ppc directories
When: Jun 2008
Why: The arch/powerpc tree is the merged architecture for ppc32 and ppc64
platforms. Currently there are efforts underway to port the remaining
arch/ppc platforms to the merged tree. New submissions to the arch/ppc
tree have been frozen with the 2.6.22 kernel release and that tree will
remain in bug-fix only mode until its scheduled removal. Platforms
that are not ported by June 2008 will be removed due to the lack of an
interested maintainer.
Who: linuxppc-dev@xxxxxxxxxx


> Regards.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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