From ec8df352dc61c92f1dc36682b844af3efa11557a Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 29 Mar 2019 19:04:14 +0100 Subject: [PATCH] TT#23584 Use $(MAKE) instead of make to honor parallel builds We need to use the MAKE variable in Makefiles to be able to honor parallel builds. While this is of no much consequence here as the kernel module is composed of a single file, the kbuild system might still be able to perform other actions in parallel, it still is good form and makes this future-proof, and copy&paste resistant. Change-Id: I43b95e59d99eb223b45007d20e18f33761cebca6 --- kernel-module/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel-module/Makefile b/kernel-module/Makefile index ef93bc80f..5f79d9b31 100644 --- a/kernel-module/Makefile +++ b/kernel-module/Makefile @@ -31,10 +31,10 @@ obj-m += xt_RTPENGINE.o .PHONY: modules clean patch install modules: - make -C $(KBUILD) M=$(PWD) O=$(KBUILD) modules + $(MAKE) -C $(KBUILD) M=$(PWD) O=$(KBUILD) modules clean: - make -C $(KBUILD) M=$(PWD) clean || true + $(MAKE) -C $(KBUILD) M=$(PWD) clean || true patch: ../utils/patch-kernel magic "$(PWD)" "$(KERNEL)" "$(RTPENGINE_VERSION)"