Kernel Compling error No rule to make target `include/config/auto.conf

9,380 views
Skip to first unread message

neectron

unread,
Nov 25, 2012, 5:25:53 AM11/25/12
to android...@googlegroups.com
When building kernel I get this error?What might be the reason?.



neectron@neectron-VirtualBox:~/pepper/kernel$ export ARCH=arm
neectron@neectron-VirtualBox:~/pepper/kernel$ export CROSS_COMPILE=/home/
neectron/toolchains/linaro/bin/arm-eabi-
neectron@neectron-VirtualBox:~/pepper/kernel$ make riogrande_pepper_defconfig
#
# configuration written to .config
#
neectron@neectron-VirtualBox:~/pepper/kernel$ make menuconfig
scripts/kconfig/mconf Kconfig
drivers/input/misc/Kconfig:646:warning: type of 'INPUT_LPS331AP' redefined from
'tristate' to 'boolean'
warning: (CW1200) selects CFG80211 which has unmet direct dependencies (NET && !
COMPAT_WIRELESS && WIRELESS && (RFKILL || !RFKILL))
warning: (CW1200) selects MAC80211 which has unmet direct dependencies (NET && !
COMPAT_WIRELESS && WIRELESS && CFG80211)


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

neectron@neectron-VirtualBox:~/pepper/kernel$ make
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/input/misc/Kconfig:646:warning: type of 'INPUT_LPS331AP' redefined from
'tristate' to 'boolean'
warning: (CW1200) selects CFG80211 which has unmet direct dependencies (NET && !
COMPAT_WIRELESS && WIRELESS && (RFKILL || !RFKILL))
warning: (CW1200) selects MAC80211 which has unmet direct dependencies (NET && !
COMPAT_WIRELESS && WIRELESS && CFG80211)
warning: (CW1200) selects CFG80211 which has unmet direct dependencies (NET && !
COMPAT_WIRELESS && WIRELESS && (RFKILL || !RFKILL))
warning: (CW1200) selects MAC80211 which has unmet direct dependencies (NET && !
COMPAT_WIRELESS && WIRELESS && CFG80211)

*** Error during update of the configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/
config/kernel.release'. Stop.

NEO

unread,
Nov 25, 2012, 9:49:27 PM11/25/12
to android...@googlegroups.com
Please refer to this link.
or you can google it.

btw, why don't you use the android default build system?
you can use make kernel to build kernel.



2012/11/25 neectron <neec...@gmail.com>

No rule to make target `include/config/auto.conf'



--
Best regards !
Mingting Sun

Gagan Chawla

unread,
Dec 9, 2012, 12:05:42 PM12/9/12
to android...@googlegroups.com
Please check if your .config is present or not after this error ?
# vi .config

I think .config is getting deleted when you are trying to do make menuconfig..


Jinho Park

unread,
Dec 9, 2012, 11:51:02 PM12/9/12
to android...@googlegroups.com
execute the "make oldconfig" after 
"make riogrande_pepper_defconfig"



2012/12/10 Gagan Chawla <er.gaga...@gmail.com>
Reply all
Reply to author
Forward
0 new messages