kumquat-buildroot/package/config
Thomas Petazzoni c0727fd319 kconfig: fix oldconfig to generate .config.cmd
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>
2009-08-03 10:07:54 +02:00
..
lxdialog config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
.gitignore kconfig: tell git to ignore new generated files 2009-07-30 17:39:47 +02:00
check.sh package/config: add gettext helper 2008-06-19 19:06:08 +00:00
conf.c kconfig: fix oldconfig to generate .config.cmd 2009-08-03 10:07:54 +02:00
confdata.c kconfig: fix oldconfig to generate .config.cmd 2009-08-03 10:07:54 +02:00
expr.c config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
expr.h config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
foo.h
gconf.c config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
gconf.glade
images.c
kconfig_load.c
kconfig-language.txt config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
kconfig-to-buildroot2.patch kconfig: fix oldconfig to generate .config.cmd 2009-08-03 10:07:54 +02:00
kxgettext.c config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
lex.zconf.c_shipped config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
lkc_proto.h config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
lkc.h config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
Makefile config: Add support for xconfig 2009-07-27 16:07:00 +02:00
Makefile.kconfig config: Add support for xconfig 2009-07-27 16:07:00 +02:00
mconf.c config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
menu.c config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
POTFILES.in config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
qconf.cc xconfig: Save the configuration properly in qconf 2009-07-27 16:07:05 +02:00
qconf.h
README.buildroot2 package/config: rebase from upstream (2.6.24.4) 2008-06-19 08:11:51 +00:00
symbol.c config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
util.c config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
zconf.gperf config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
zconf.hash.c_shipped config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
zconf.l config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
zconf.tab.c_shipped config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
zconf.y config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00

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