[elbe-devel] [PATCH] debianize: kernel - use $(MAKE) instead of make

Manuel Traut manut at linutronix.de
Wed Jun 14 14:36:49 CEST 2017


Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/makofiles/debianize/kernel/rules.mako | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/elbepack/makofiles/debianize/kernel/rules.mako b/elbepack/makofiles/debianize/kernel/rules.mako
index ff48fa43..18701312 100755
--- a/elbepack/makofiles/debianize/kernel/rules.mako
+++ b/elbepack/makofiles/debianize/kernel/rules.mako
@@ -24,23 +24,23 @@ override_dh_auto_clean:
 	mkdir -p debian/build
 	rm -f debian/files
 	rm -rf debian/tmp
-	make $(MAKE_OPTS) clean
+	$(MAKE) $(MAKE_OPTS) clean
 
 override_dh_auto_configure:
 	mkdir -p debian/build
-	make $(MAKE_OPTS) ${defconfig}
+	$(MAKE) $(MAKE_OPTS) ${defconfig}
 
 override_dh_auto_build:
 	rm -rf include/config
-	make -j`nproc` $(MAKE_OPTS) ${imgtype} modules
+	$(MAKE) -j`nproc` $(MAKE_OPTS) ${imgtype} modules
 	test ${k_arch} = arm && make -j`nproc` $(MAKE_OPTS) dtbs || true
 
 override_dh_auto_install:
 	mkdir -p $(MOD_PATH) $(FW_PATH) $(HDR_PATH) $(KERNEL_PATH) $(DTBS_PATH)
-	make $(MAKE_OPTS) ${imgtype_install}
-	make $(MAKE_OPTS) INSTALL_MOD_STRIP=1 modules_install
-	make $(MAKE_OPTS) firmware_install
-	make $(MAKE_OPTS) headers_install
+	$(MAKE) $(MAKE_OPTS) ${imgtype_install}
+	$(MAKE) $(MAKE_OPTS) INSTALL_MOD_STRIP=1 modules_install
+	$(MAKE) $(MAKE_OPTS) firmware_install
+	$(MAKE) $(MAKE_OPTS) headers_install
 	test ${k_arch} = arm && make $(MAKE_OPTS) dtbs_install || true
 
 %%:
-- 
2.11.0





More information about the elbe-devel mailing list