buildrootschalter/package/config
Peter Korsgaard 3435c1afb5 kconfig: implement KCONFIG_PROBABILITY for rand{,package}config
rand{,package}config enables configuration options with 50% probability,
which isn't always what we want in BR (because the "big" configs take a
long time to build and limits the chance of a randconfig detecting a
missing dependency), so introduce a KCONFIG_PROBABILITY environment
variable to tweak the probability between 0 (all options off) and 100
(all options on).

To use, simply set the environment variable before running make or pass
it on the make command line - E.G.

make randpackageconfig KCONFIG_PROBABILITY=10

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-23 14:27:30 +02:00
..
lxdialog check-lxdialog.sh: use mktemp for temporary file 2010-06-21 23:02:24 +02:00
.gitignore Move config files into output directory for out-of-tree build 2010-06-21 22:06:00 +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: implement KCONFIG_PROBABILITY for rand{,package}config 2010-07-23 14:27:30 +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 - no features with Apple Inc. (Heikki Lindholm) 2007-07-24 18:20:46 +00:00
gconf.c kconfig: build in BUILD_DIR/buildroot-config 2010-06-21 22:16:34 +02:00
gconf.glade - pull kconfig from linux-2.6.21.5 2007-06-28 10:46:19 +00:00
images.c - pull kconfig from linux-2.6.21.5 2007-06-28 10:46:19 +00:00
kconfig_load.c - pull kconfig from linux-2.6.21.5 2007-06-28 10:46:19 +00:00
kconfig-language.txt config: Update package/config to Kconfig 2.6.30 2009-07-27 16:06:50 +02:00
kconfig-to-buildroot2.patch package/config: also add gconfig change to patch 2010-06-05 21:41:32 +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 cleanup/simplify kconfig changes for O= builds 2010-06-21 22:11:31 +02:00
Makefile Makefile: fixup make distclean after kconfig build in BUILD_DIR 2010-07-01 09:03:36 +02:00
Makefile.kconfig make gconfig: fix build on Fedora-13 2010-06-24 17:01:15 +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 - pull kbuild from 2.6.22.7. This should fix the ncurses detection for dylib et al 2007-09-23 14:06:59 +00:00
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 cleanup/simplify kconfig changes for O= builds 2010-06-21 22:11:31 +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