mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-08 02:09:48 +03:00
Since the recent update of Kconfig to the Kconfig infrastructure found in 2.6.30 kernels, make oldconfig was broken because it didn't generate the .config.cmd file. This is done by a call to the conf_write_autoconf() function. Moreover, this process was also broken because the conf_get_autoconfig_name() function was reading the environment variable BUILDROOT_AUTOCONF while the main Makefile is passing it as KCONFIG_AUTOCONFIG. We also remove the fallback on "$(BR2_DEPENDS_DIR)/config/auto.conf" since we are not able to expand BR2_DEPENDS_DIR at this point. Therefore, the KCONFIG_AUTOCONFIG envionment variable *must* be set. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This is a copy of the kconfig code in the kernel (currently 2.6.24.4) tweaked to suit Buildroot. To update: cp -r /usr/src/linux/scripts/kconfig package/config.new cd package/config.new cp /usr/src/linux/Documentation/kbuild/kconfig-language.txt . patch -p1 < ../config/kconfig-to-buildroot2.patch mv Makefile Makefile.kconfig cp ../config/README.buildroot2 . cp ../config/foo.h . cp ../config/Makefile . cp ../config/kconfig-to-buildroot2.patch . cd .. rm -rf config mv config.new config Then verify the toplevel targets work: config defconfig menuconfig oldconfig