From 893dacae3f93dcab24fdeb0c7e4a44d30b2db0ee Mon Sep 17 00:00:00 2001 From: Renato Botelho do Couto Date: Wed, 5 Jun 2024 18:11:46 +0000 Subject: build: Use $(MAKE) instead of direct call to make No functional changes, just make it to respect original make binary name used to start building Type: improvement Change-Id: Ic8568237fbb39c6a0d3b7405a9670e9410aeb752 Signed-off-by: Renato Botelho do Couto --- build/external/Makefile | 4 ++-- build/external/packages/ipsec-mb.mk | 2 +- build/external/packages/xdp-tools.mk | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'build') diff --git a/build/external/Makefile b/build/external/Makefile index 046dd7484ae..3cb7b47f436 100644 --- a/build/external/Makefile +++ b/build/external/Makefile @@ -94,7 +94,7 @@ build-deb: $(DEV_DEB) install-deb: ifneq ($(INSTALLED_VER),$(DEB_VER)-$(PKG_SUFFIX)) - @make $(DEV_DEB) + @$(MAKE) $(DEV_DEB) @sudo dpkg -i $(DEV_DEB) else @echo "==========================================================" @@ -175,7 +175,7 @@ ifeq ($(INSTALLED_VER)$(INSTALLED_RPM_VER),) $(MAKE) config else ifneq ($(INSTALLED_VER),) - make check-deb + $(MAKE) check-deb endif ifneq ($(INSTALLED_RPM_VER),) $(MAKE) check-rpm diff --git a/build/external/packages/ipsec-mb.mk b/build/external/packages/ipsec-mb.mk index d38f2e306ea..ffdbcd23fb2 100644 --- a/build/external/packages/ipsec-mb.mk +++ b/build/external/packages/ipsec-mb.mk @@ -32,7 +32,7 @@ define ipsec-mb_config_cmds endef define ipsec-mb_build_cmds - @make -C $(ipsec-mb_src_dir)/lib -j \ + @$(MAKE) -C $(ipsec-mb_src_dir)/lib -j \ SHARED=n \ SAFE_PARAM=n \ SAFE_LOOKUP=n \ diff --git a/build/external/packages/xdp-tools.mk b/build/external/packages/xdp-tools.mk index b65ae1361f5..b9285971f42 100644 --- a/build/external/packages/xdp-tools.mk +++ b/build/external/packages/xdp-tools.mk @@ -24,15 +24,15 @@ define xdp-tools_config_cmds endef define xdp-tools_build_cmds - @cd ${xdp-tools_src_dir} && make V=1 BUILD_STATIC_ONLY=y > $(xdp-tools_build_log) + @cd ${xdp-tools_src_dir} && $(MAKE) V=1 BUILD_STATIC_ONLY=y > $(xdp-tools_build_log) endef define xdp-tools_install_cmds @rm -f $(xdp-tools_install_log) @cd ${xdp-tools_src_dir} && \ - make -C lib/libbpf/src install V=1 BUILD_STATIC_ONLY=y PREFIX='' DESTDIR='$(xdp-tools_install_dir)' >> $(xdp-tools_install_log) + $(MAKE) -C lib/libbpf/src install V=1 BUILD_STATIC_ONLY=y PREFIX='' DESTDIR='$(xdp-tools_install_dir)' >> $(xdp-tools_install_log) @cd ${xdp-tools_src_dir} && \ - make libxdp_install V=1 BUILD_STATIC_ONLY=y PREFIX='' DESTDIR='$(xdp-tools_install_dir)' >> $(xdp-tools_install_log) + $(MAKE) libxdp_install V=1 BUILD_STATIC_ONLY=y PREFIX='' DESTDIR='$(xdp-tools_install_dir)' >> $(xdp-tools_install_log) endef $(eval $(call package,xdp-tools)) -- cgit 1.2.3-korg