From 30a01a075895aaff068da4c3f50de76cb35e17f9 Mon Sep 17 00:00:00 2001 From: Masashi Honma Date: Mon, 22 Nov 2021 05:36:12 +0900 Subject: [PATCH 1/2] Fix failure of check at commiting when linuxkm is enabled Making check in linuxkm make[2]: Entering directory '/home/honma/git/wolfssl/linuxkm' make[2]: warning: -j13 forced in submake: resetting jobserver mode. make[2]: *** No rule to make target 'check'. Stop. make[2]: Leaving directory '/home/honma/git/wolfssl/linuxkm' make[1]: *** [Makefile:6431: check-recursive] Error 1 make[1]: Leaving directory '/home/honma/git/wolfssl' make: *** [Makefile:6901: check] Error 2 Signed-off-by: Masashi Honma --- linuxkm/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linuxkm/Makefile b/linuxkm/Makefile index 3f455ce24..7ee80c8e8 100644 --- a/linuxkm/Makefile +++ b/linuxkm/Makefile @@ -109,6 +109,9 @@ install modules_install: clean: +$(MAKE) -C $(KERNEL_ROOT) M=$(MODULE_TOP) src=$(MODULE_TOP) clean +.PHONY: check +check: + .PHONY: dist dist: From ace5d444a454a21e508bffe4b2785d45d97f77b9 Mon Sep 17 00:00:00 2001 From: Masashi Honma Date: Mon, 22 Nov 2021 05:46:13 +0900 Subject: [PATCH 2/2] Fix failure of make distclean when linuxkm is enabled $ make distclean Making distclean in linuxkm make[1]: Entering directory '/home/honma/git/wolfssl/linuxkm' make[1]: *** No rule to make target 'distclean'. Stop. make[1]: Leaving directory '/home/honma/git/wolfssl/linuxkm' make: *** [Makefile:6431: distclean-recursive] Error 1 Signed-off-by: Masashi Honma --- linuxkm/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linuxkm/Makefile b/linuxkm/Makefile index 7ee80c8e8..c59830a7d 100644 --- a/linuxkm/Makefile +++ b/linuxkm/Makefile @@ -112,6 +112,9 @@ clean: .PHONY: check check: +.PHONY: distclean +distclean: clean + .PHONY: dist dist: