it seems that the kernel has no Makefile because make xconfig doesn't work Reproducible: Always Steps to Reproduce: 1.cd /usr/src/linux-2.6.23-mm1/ 2.make xconfig 3.make menuconfig 4.make config Actual Results: # make xconfig Makefile:456: /usr/src/linux-2.6.23-mm1/arch//Makefile: No such file or directory make: *** No rule to make target `/usr/src/linux-2.6.23-mm1/arch//Makefile'. Stop. # make menuconfig Makefile:456: /usr/src/linux-2.6.23-mm1/arch//Makefile: No such file or directory make: *** No rule to make target `/usr/src/linux-2.6.23-mm1/arch//Makefile'. Stop. # make config Makefile:456: /usr/src/linux-2.6.23-mm1/arch//Makefile: No such file or directory make: *** No rule to make target `/usr/src/linux-2.6.23-mm1/arch//Makefile'. Stop.
(In reply to comment #0) > Makefile:456: /usr/src/linux-2.6.23-mm1/arch//Makefile: No such file or > directory > make: *** No rule to make target `/usr/src/linux-2.6.23-mm1/arch//Makefile'. > Stop. This is happening because $ARCH is unset and not detected. I'm seeing the same problem on =sys-kernel.vanilla-sources-2.6.23. Calling make from the topdir fails: root@indigo:/usr/src/linux-2.6.23# make menuconfig make: *** No rule to make target `menuconfig'. Stop. Ofcourse, all kernel modules from portage are barfing on it too :-)
(In reply to comment #1) > (In reply to comment #0) > > Makefile:456: /usr/src/linux-2.6.23-mm1/arch//Makefile: No such file or > > directory > > make: *** No rule to make target `/usr/src/linux-2.6.23-mm1/arch//Makefile'. > > Stop. > > This is happening because $ARCH is unset and not detected. I'm seeing the same > problem on =sys-kernel.vanilla-sources-2.6.23. Calling make from the topdir > fails: > root@indigo:/usr/src/linux-2.6.23# make menuconfig > make: *** No rule to make target `menuconfig'. Stop. > > Ofcourse, all kernel modules from portage are barfing on it too :-) > yes ARCH is not set: # echo $ARCH but make xconfig in others kernel work fine...what should i do
ARCH="i386" make xconfig works... but i wonder how to push the per-arch variable in /etc/env.d... (mabe an eclass...i realy don't know)
the kernel attempts to autodetect the arch, it doesn't read from the environment unless it has to we don't support mm-sources so bugs like this should go to LKML or similar