I'm currently porting one of my ebuild to 2.6. This ebuild compiles a kernel module used for an xDSL modem. When doing an emake, the variable ${ARCH} is exported with a value of x86 ... Unfortunately kernel 2.6 Makefile uses this variable if it's set in the environment... but there's no x86 architecture for linux kernel (only i386 or x86_64) I think that a shortcut for me whould be to unset the ARCH variable before calling emake (or set it to i386) and changes it back after but it seems awkward .. Perhaps there's a better solution. Reproducible: Always Steps to Reproduce: 1.Write a module makefile that uses new kernel 2.6 Makefile architecture 2.Write an ebuild that call this Makefile 3.ebuild my_ebuild.ebuild compile Actual Results: *** No rule to make target `/usr/src/linux-2.6.2-rc2-mm1/arch/x86/Makefile'. Stop. Expected Results: Try to use /usr/src/linux-2.6.2-rc2-mm1/arch/i386/Makefile instead
env -u ARCH unless the kernel peeps feel like doing something with this, i guess we can close this as WONTFIX
OK... Perhaps it worth a line in the Official Documentation for creating ebuild ?