ARCH not being set by make menuconfig - kernel compile fails to start

Denis Vlasenko vda.linux at googlemail.com
Wed Jul 18 08:30:38 UTC 2007


On Wednesday 18 July 2007 06:10, William Pettersson wrote:
> So, I'm trying to set up a buildroot image for a soekris net4801.  I ran
> make menuconfig, Target Architecture is set to "i386", Target
> Architecture Variant is set to "geode".
> 
> However, when I run "make", I get the following
> (cd /home/wpettersson/src/buildroot/build_/linux-2.6.21.5 ; \
>          /usr/bin/make -j1 ARCH= CC="/usr/bin/gcc" \
> 
> INSTALL_HDR_PATH=/home/wpettersson/src/buildroot/toolchain_build_/linux
> headers_install ; \
>         )
> make[1]: Entering directory
> `/home/wpettersson/src/buildroot/build_/linux-2.6.21.5'
> Makefile:491:
> /home/wpettersson/src/buildroot/build_/linux-2.6.21.5/arch//Makefile: No
> such file or directory

Seems like bbox and buildroot build machinery disagrees on how to handle
ARCH. buildroot seems to set it to empty string. bbox sees it being set
and doesn't change.

Either buildroot shouldn't set ARCH to "" or busybox should change it
if it is "". Someone needs to look deeper into it...
--
vda



More information about the busybox mailing list