buildroot/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
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
POTFILES.in
README.buildroot2
check.sh
conf.c
confdata.c kconfig: implement KCONFIG_PROBABILITY for rand{,package}config 2010-07-23 14:27:30 +02:00
expr.c
expr.h
foo.h
gconf.c kconfig: build in BUILD_DIR/buildroot-config 2010-06-21 22:16:34 +02:00
gconf.glade
images.c
kconfig-language.txt
kconfig-to-buildroot2.patch
kconfig_load.c
kxgettext.c
lex.zconf.c_shipped
lkc.h cleanup/simplify kconfig changes for O= builds 2010-06-21 22:11:31 +02:00
lkc_proto.h
mconf.c
menu.c
qconf.cc
qconf.h
symbol.c
util.c cleanup/simplify kconfig changes for O= builds 2010-06-21 22:11:31 +02:00
zconf.gperf
zconf.hash.c_shipped
zconf.l
zconf.tab.c_shipped
zconf.y

README.buildroot2

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