Hi
I have configured buildroot to use a custom kernel configuration setting the following in buildroot configuration file:
When compiling I get the following error:
Code
- hein@lab4:~/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1$ make linux
- /usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
- make[1]: Entering directory `/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1'
- BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/buildroot-config/tristate.config BR2_CONFIG=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/.config BR2_EXTERNAL=/home/MIROSNETT/hein/develop/SM-140/trunk/buildroot SKIP_LEGACY= /home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/buildroot-config/conf --silentoldconfig Config.in
- make[1]: Leaving directory `/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1'
- >>> linux localdir Extracting
- linux/localdir_cp "/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/../linux-fsimx6" /home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir && PATH="/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/bin:/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/sbin:/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/usr/bin:/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/bin:/opt/nios2/bin:/opt/node-v0.10.38-linux-x64/bin:/opt/altera/13.0sp1/quartus/bin:/opt/altera/13.0sp1/nios2eds/bin" /usr/bin/make -j1 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm INSTALL_MOD_PATH=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/target CROSS_COMPILE=" /home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/usr/bin/arm-linux-" DEPMOD=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/sbin/depmod -C /home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir distclean
- make[1]: Entering directory `/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir'
- CLEAN Documentation/spi
- CLEAN scripts/basic
- CLEAN scripts/kconfig
- CLEAN include/config
- make[1]: Leaving directory `/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir'
- >>> linux localdir Patching
- for p in ; do if test -d $p ; then support/scripts/apply-patches.sh /home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir $p \*.patch || exit 1 ; else support/scripts/apply-patches.sh /home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir `dirname $p` `basename $p` || exit 1; fi done
- PATH="/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/bin:/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/sbin:/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/usr/bin:/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/arm/fs-toolchain-4.7.2-cortexa5-neonvfpv4/bin:/opt/nios2/bin:/opt/node-v0.10.38-linux-x64/bin:/opt/altera/13.0sp1/quartus/bin:/opt/altera/13.0sp1/nios2eds/bin" BR_BINARIES_DIR=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/images /usr/bin/make -j13 -C /home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm INSTALL_MOD_PATH=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/target CROSS_COMPILE=" /home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/usr/bin/arm-linux-" DEPMOD=/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/host/sbin/depmod _defconfig
- make[1]: Entering directory `/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir'
- HOSTCC scripts/basic/fixdep
- make[2]: *** No rule to make target `_defconfig'. Stop.
- make[1]: *** [_defconfig] Error 2
- make[1]: Leaving directory `/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir'
- make: *** [/home/MIROSNETT/hein/develop/armStoneA9/buildroot-2015.05-fsimx6-V2.1/output/build/linux-localdir/.config] Error 2
This worked well in V2.0 but not in V2.1. It seems that you have done modifications in linux/linux.mk and package/pkg-kconfig.mk that breaks this feature.
A work-around is to copy my custom configuration to the linux kernel source manually, but it would be nice if this was fixed in the next release.
Kind regards,
Hein Gustavsen
Miros AS