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-2.6.12.5'
Makefile:530: /lfs-livecd/packages/linux/linux-2.6.12.5/arch/x86/Makefile: No such file or directory make[3]: *** No rule to make target `/lfs-livecd/packages/linux/linux-2.6.12.5/arch/x86/Makefile'. Stop.
make[3]: Leaving directory `/lfs-livecd/packages/linux/linux-2.6.12.5'
make[2]: *** [compile-stage2] Error 2
make[2]: Leaving directory `/lfs-livecd/packages/linux/linux-2.6.12.5'
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
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to