[Buildroot] ARCH=ppc vs powerpc

Peter Korsgaard jacmet at uclibc.org
Wed Apr 2 14:45:57 UTC 2008


>>>>> "Guillaume" == Guillaume Dargaud <dargaud at lpsc.in2p3.fr> writes:

 Guillaume> Anyone care to comment on that:
 Guillaume> $ make ARCH=ppc linux26-menuconfig
 Guillaume> [ -f
 Guillaume> /home/guinevere/buildroot/project_build_ppc/genepy/linux-2.6.24/.config ] |
 Guillaume> | cp local/genepy/linux-2.6.24.config
 Guillaume> /home/guinevere/buildroot/project_build_pp
 Guillaume> c/genepy/linux-2.6.24/.config
 Guillaume> /usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=powerpc
 Guillaume> [...]

 Guillaume> Why does ARCH change ?!?

Because target/linux/Makefile.in uses KERNEL_ARCH for ARCH setting,
and not what you have set ARCH to on the cmdline.

KERNEL_ARCH is calculated in
toolchain/kernel-headers/kernel-headers.mk - Notice that arch/ppc is
deprecated, you should use arch/powerpc nowadays.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list