Aries97 n00b
Joined: 04 Nov 2005 Posts: 63
|
Posted: Wed Jan 16, 2013 8:10 pm Post subject: [SOLVED] make: no rules to make target "menuconfig" |
|
|
This is the second time I've had this problem. I don't actually know what's causing it, but I'm fairly sure it's me doing something stupid. (Like possibly killing a screen session in which "make menuconfig" was running?)
Code: | sexy ~ # cd /usr/src/
sexy src # ls -l
total 8
lrwxrwxrwx 1 root root 18 Jan 15 08:27 linux -> linux-3.5.7-gentoo
drwxr-xr-x 23 root root 4096 Jan 16 12:28 linux-3.3.8-gentoo
drwxr-xr-x 21 root root 4096 Jan 12 23:28 linux-3.5.7-gentoo
sexy src # |
Code: | sexy src # cd linux
sexy linux # make menuconfig
make: *** No rule to make target `menuconfig'. Stop.
sexy linux # ls
Module.symvers arch crypto firmware include ipc lib modules.builtin net security usr vmlinux
System.map block drivers fs init kernel mm modules.order scripts sound virt vmlinux.o
sexy linux # |
Notice how there is no Makefile? I don't know what happened to it. I don't suppose you know how I can get it back? I have a functional 3.5.7 kernel at the moment, but I need to make some changes to it for CUPS, and a VPN etc...
The 3.3.8 kernel is still intact:
Code: | sexy linux # cd ../linux-3.3.8-gentoo/
sexy linux-3.3.8-gentoo # ls
COPYING Kbuild Makefile arch drivers include kernel net security usr
CREDITS Kconfig README block firmware init lib samples sound virt
Documentation MAINTAINERS REPORTING-BUGS crypto fs ipc mm scripts tools
sexy linux-3.3.8-gentoo # |
Last edited by Aries97 on Wed Jan 16, 2013 8:13 pm; edited 3 times in total |
|