From 3db444cbffaf3f795f1f3070796b3b52fbfde0d2 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 4 Nov 2011 20:59:52 +0100 Subject: docs: add notes about tools/config-gen Signed-off-by: Karel Zak --- Documentation/howto-build-sys.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'Documentation/howto-build-sys.txt') diff --git a/Documentation/howto-build-sys.txt b/Documentation/howto-build-sys.txt index 53566140e..36f8e3035 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 -- cgit v1.2.3-55-g7522