From: Lucas De Marchi Date: Fri, 11 Nov 2016 01:37:04 +0000 (-0200) Subject: build: fix build with disabled test modules X-Git-Tag: v24~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67d1534318a59a2e97c077a20471e69e1eeb73c3;p=thirdparty%2Fkmod.git build: fix build with disabled test modules 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. --- diff --git a/Makefile.am b/Makefile.am index d4eeb7e1..981a1afa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 index 00000000..c0e15cbe 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 index 00000000..46f3c433 Binary files /dev/null and b/testsuite/module-playground/cache/mod-loop-g.ko differ