buildroot/support/kconfig
Nasser Afshin 8f069a665c support/kconfig/merge_config.sh: fix merging buildroot config files
This patch allows us to define config prefix with CONFIG_ environment
variable.

By setting the proper config prefix, we will have proper 'redundant
configuration warnings' when we use '-r -m' options.

This is actually already in mainline for v4.20-rc1:
2cd3faf87d2d8f6123adf34741b9a7b98828a76f
("merge_config.sh: Allow to define config prefix")

Signed-off-by: Nasser Afshin <afshin.nasser@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-24 10:11:11 +01:00
..
lxdialog support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
patches support/kconfig/merge_config.sh: fix merging buildroot config files 2018-11-24 10:11:11 +01:00
.gitignore support: move kconfig stuff from package/config to support/kconfig 2011-09-17 08:17:06 +02:00
check.sh support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
conf.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
confdata.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
expr.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
expr.h support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
foo.h support: move kconfig stuff from package/config to support/kconfig 2011-09-17 08:17:06 +02:00
gconf.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
gconf.glade support: move kconfig stuff from package/config to support/kconfig 2011-09-17 08:17:06 +02:00
images.c support: move kconfig stuff from package/config to support/kconfig 2011-09-17 08:17:06 +02:00
kconf_id.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
kxgettext.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
list.h support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
lkc_proto.h support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
lkc.h support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
Makefile support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
Makefile.br support/kconfig: use kconfig-provided way of setting the CONFIG_ prefix 2013-04-21 23:33:11 +02:00
mconf.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
menu.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
merge_config.sh support/kconfig/merge_config.sh: fix merging buildroot config files 2018-11-24 10:11:11 +01:00
nconf.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
nconf.gui.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
nconf.h support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
POTFILES.in support: move kconfig stuff from package/config to support/kconfig 2011-09-17 08:17:06 +02:00
qconf.cc support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
qconf.h support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
README.buildroot support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
streamline_config.pl support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
symbol.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
util.c support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
zconf.l support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
zconf.lex.c_shipped support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
zconf.tab.c_shipped support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00
zconf.y support/kconfig: bump to kconfig from Linux 4.17-rc2 2018-09-20 23:14:38 +02:00

This is a copy of the kconfig code in the kernel (currently 4.17-rc2) tweaked
to suit Buildroot.

To update:
	cp -r /usr/src/linux/scripts/kconfig support/kconfig.new
	cd support/kconfig.new
	# zconf.lex.c and zconf.tab.c needs to be generated by 'make menuconfig'
	mv zconf.lex.c zconf.lex.c_shipped
	mv zconf.tab.c zconf.tab.c_shipped
	rm -rf tests/
	cp -a ../kconfig/patches ../kconfig/README.buildroot ../kconfig/.gitignore .
	quilt push -a
	# Fix any conflict
	cd ..
	rm -rf kconfig
	mv kconfig.new kconfig

Then verify the toplevel targets work:
	config
	defconfig
	menuconfig
	nconfig
	xconfig
	gconfig
	oldconfig