From: Karel Zak Date: Fri, 4 Nov 2011 19:59:52 +0000 (+0100) Subject: docs: add notes about tools/config-gen X-Git-Tag: v2.21-rc1~220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3db444cbffaf3f795f1f3070796b3b52fbfde0d2;p=thirdparty%2Futil-linux.git docs: add notes about tools/config-gen Signed-off-by: Karel Zak --- diff --git a/Documentation/howto-build-sys.txt b/Documentation/howto-build-sys.txt index 53566140eb..36f8e3035e 100644 --- a/Documentation/howto-build-sys.txt +++ b/Documentation/howto-build-sys.txt @@ -31,3 +31,26 @@ util-linux build system ...) is missing an error is printed and ./configure aborted "no" - the util/feature is unwanted + + + - some basic scenarios for the ./configure script are defined in the + tools/config-gen.d/ directory. If you want to use these predefined scenarios + then call + + ./tools/config-gen [ ...] + + for example + + ./tools/config-gen all selinux + + will build all utils with enabled selinux support. You can also define some + CFLAGS, for example: + + CFLAGS=$(rpm --eval '%optflags') ./tools/config-gen all + + will use the default distro flags. + + - the tools/config-gen script is also used for build system regression tests, + the test is not enabled by default, you have to use + + tests/run.sh build-sys --force