Problems with ARCH in current Makefiles

Alexander E. Patrakov patrakov at
Sun Sep 25 00:12:36 PDT 2005

Justin R. Knierim wrote:
> Hello everyone,
> During a test build of trunk I found a problem with the current 
> implementation of ARCH.  The ARCH variable seems to get picked up by the 
> kernel makefiles and results in the linux build failing:
> make mrproper
> make[3]: Entering directory `/lfs-livecd/packages/linux/linux-'
> Makefile:530: 
> /lfs-livecd/packages/linux/linux- No such 
> file or directory
> make[3]: *** No rule to make target 
> `/lfs-livecd/packages/linux/linux-'.  Stop.
> make[3]: Leaving directory `/lfs-livecd/packages/linux/linux-'
> make[2]: *** [compile-stage2] Error 2
> make[2]: Leaving directory `/lfs-livecd/packages/linux/linux-'
> make[1]: *** [stage2] Error 2
> make[1]: Leaving directory `/lfs-livecd/packages/linux'
> make: *** [ch-linux] Error 2
> make: *** [extend-lfs] Error 2
> Our ARCH := x86 being substituted for i386.  I guess it would be better 
> just to name it something different.  Any suggestions or other solutions?

See the sysvinit package for the similar (solved) problem with the ROOT 
variable. Not tested on linux kernel, though.

I won't object if we rename ARCH -> LFSARCH.

Alexander E. Patrakov

More information about the livecd mailing list