From: Jozsef Kadlecsik Date: Thu, 31 Oct 2019 11:12:31 +0000 (+0100) Subject: Do not return with error at 'make modules_install' when modules are not loaded X-Git-Tag: v7.4~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a47c1db56ef6fd6fd1a488678deb5e52ede05b;p=thirdparty%2Fipset.git Do not return with error at 'make modules_install' when modules are not loaded The issue was reported by Oskar Berggren. --- diff --git a/Makefile.am b/Makefile.am index 8d718e1c..eab32ee9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -73,7 +73,7 @@ if WITH_KMOD ${MAKE} -C $(KBUILD_OUTPUT) M=$$PWD/kernel/net \ KDIR=$$PWD/kernel modules_install @modinfo -b ${INSTALL_MOD_PATH} ip_set_hash_ip | ${GREP} /extra/ >/dev/null || echo "$$DEPMOD_WARNING" - @lsmod | ${GREP} '^ip_set' >/dev/null && echo "$$MODULE_WARNING" + @lsmod | ${GREP} '^ip_set' >/dev/null && echo "$$MODULE_WARNING"; true else @echo Skipping kernel modules due to --with-kmod=no endif