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
.gitignore
check.sh
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
expr.h
foo.h
gconf.c
gconf.glade
images.c
kconfig_load.c
kconfig-language.txt
kconfig-to-buildroot2.patch kconfig: fix oldconfig to generate .config.cmd 2009-08-03 10:07:54 +02:00
kxgettext.c
lex.zconf.c_shipped
lkc_proto.h
lkc.h
Makefile
Makefile.kconfig
mconf.c
menu.c
POTFILES.in
qconf.cc
qconf.h
README.buildroot2
symbol.c
util.c
zconf.gperf
zconf.hash.c_shipped
zconf.l
zconf.tab.c_shipped
zconf.y

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