diff options
author | Karel Zak | 2011-11-04 20:59:52 +0100 |
---|---|---|
committer | Karel Zak | 2011-11-04 20:59:52 +0100 |
commit | 3db444cbffaf3f795f1f3070796b3b52fbfde0d2 (patch) | |
tree | 5f6c1f54f9014cb9a0496c4aec25cf83fa7412df /Documentation | |
parent | tests: add build-sys regression test (diff) | |
download | kernel-qcow2-util-linux-3db444cbffaf3f795f1f3070796b3b52fbfde0d2.tar.gz kernel-qcow2-util-linux-3db444cbffaf3f795f1f3070796b3b52fbfde0d2.tar.xz kernel-qcow2-util-linux-3db444cbffaf3f795f1f3070796b3b52fbfde0d2.zip |
docs: add notes about tools/config-gen
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/howto-build-sys.txt | 23 |
1 files changed, 23 insertions, 0 deletions
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 [<scenario> ...] + + 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 |