]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build: fix build with disabled test modules
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 11 Nov 2016 01:37:04 +0000 (23:37 -0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 11 Nov 2016 01:47:19 +0000 (23:47 -0200)
install: cannot stat 'testsuite/module-playground/mod-loop-f.ko': No
such file or directory
Makefile:2881: recipe for target 'rootfs' failed
make[1]: *** [rootfs] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:2101: recipe for target 'check-recursive' failed

We need to ship pre-compiled binaries so it's possible to run
"make check" on servers without kernel headers.

Also add them to EXTRA_DIST as other sources.

Makefile.am
testsuite/module-playground/cache/mod-loop-f.ko [new file with mode: 0644]
testsuite/module-playground/cache/mod-loop-g.ko [new file with mode: 0644]

index d4eeb7e11b24bfa0eff561951c9470a90a2769a7..981a1afa43a72be618e5bf598a3a5f4ef20d5cb0 100644 (file)
@@ -285,6 +285,8 @@ EXTRA_DIST += \
        testsuite/module-playground/mod-loop-c.c \
        testsuite/module-playground/mod-loop-d.c \
        testsuite/module-playground/mod-loop-e.c \
+       testsuite/module-playground/mod-loop-f.c \
+       testsuite/module-playground/mod-loop-g.c \
        testsuite/module-playground/mod-loop.h \
        testsuite/module-playground/mod-simple.c \
        testsuite/module-playground/mod-simple-i386.ko \
diff --git a/testsuite/module-playground/cache/mod-loop-f.ko b/testsuite/module-playground/cache/mod-loop-f.ko
new file mode 100644 (file)
index 0000000..c0e15cb
Binary files /dev/null and b/testsuite/module-playground/cache/mod-loop-f.ko differ
diff --git a/testsuite/module-playground/cache/mod-loop-g.ko b/testsuite/module-playground/cache/mod-loop-g.ko
new file mode 100644 (file)
index 0000000..46f3c43
Binary files /dev/null and b/testsuite/module-playground/cache/mod-loop-g.ko differ