diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2015-06-06 23:26:31 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2015-06-06 23:26:31 -0300 |
commit | 013e855043149ec998085bd94896379e08578acd (patch) | |
tree | ab58e4750cd1562ea7b2a1a6e5f430fb07cd2b9b /Makefile.am | |
parent | 23603f1f837caeff45c6960722c2cad690db801d (diff) | |
download | kmod-013e855043149ec998085bd94896379e08578acd.tar.gz kmod-013e855043149ec998085bd94896379e08578acd.tar.bz2 kmod-013e855043149ec998085bd94896379e08578acd.zip |
tools: Hide new commands behind experimental flag
Hide the commands behind a flag so we can continue doing releases while
the commands aren't ready.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index b991936..5614317 100644 --- a/Makefile.am +++ b/Makefile.am @@ -127,9 +127,14 @@ tools_kmod_SOURCES = \ tools/rmmod.c tools/insmod.c \ tools/modinfo.c tools/modprobe.c \ tools/depmod.c tools/log.h tools/log.c \ - tools/insert.c \ - tools/remove.c \ tools/static-nodes.c + +if BUILD_EXPERIMENTAL +tools_kmod_SOURCES += \ + tools/insert.c \ + tools/remove.c +endif + tools_kmod_LDADD = \ shared/libshared.la \ libkmod/libkmod-internal.la @@ -323,8 +328,12 @@ TESTSUITE = \ testsuite/test-modinfo testsuite/test-util testsuite/test-new-module \ testsuite/test-modprobe testsuite/test-blacklist \ testsuite/test-dependencies testsuite/test-depmod \ - testsuite/test-list \ + testsuite/test-list + +if BUILD_EXPERIMENTAL +TESTSUITE += \ testsuite/test-tools +endif check_PROGRAMS = $(TESTSUITE) TESTS = $(TESTSUITE) @@ -364,8 +373,11 @@ testsuite_test_depmod_LDADD = $(TESTSUITE_LDADD) testsuite_test_depmod_CPPFLAGS = $(TESTSUITE_CPPFLAGS) testsuite_test_list_LDADD = $(TESTSUITE_LDADD) testsuite_test_list_CPPFLAGS = $(TESTSUITE_CPPFLAGS) + +if BUILD_EXPERIMENTAL testsuite_test_tools_LDADD = $(TESTSUITE_LDADD) testsuite_test_tools_CPPFLAGS = $(TESTSUITE_CPPFLAGS) +endif testsuite-distclean: $(RM) -r $(ROOTFS) |