From c1250cc30806299ae18185bb01d626de6e321d9f Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Fri, 28 Jul 2023 22:38:16 +0900 Subject: [PATCH] UBUNTU: [Packaging] remove hmake There is no good reason to use a different variable only for 'make headers_install'. Just use $(kmake) like the other targets. Signed-off-by: Masahiro Yamada Signed-off-by: Andrea Righi --- debian/rules.d/2-binary-arch.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 7af0287b6535..4242875fe71b 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -549,10 +549,6 @@ endif headers_tmp := $(CURDIR)/debian/tmp-headers headers_dir := $(CURDIR)/debian/linux-libc-dev -hmake := $(MAKE) -C $(CURDIR) O=$(headers_tmp) \ - INSTALL_HDR_PATH=$(headers_tmp)/install \ - SHELL="$(SHELL)" ARCH=$(build_arch) - .PHONY: install-arch-headers install-arch-headers: @echo Debug: $@ @@ -563,7 +559,7 @@ ifeq ($(do_libc_dev_package),true) endif rm -rf $(headers_tmp) $(headers_dir) install -d $(headers_tmp) $(headers_dir)/usr/include/ - $(hmake) $(conc_level) headers_install + $(kmake) O=$(headers_tmp) INSTALL_HDR_PATH=$(headers_tmp)/install $(conc_level) headers_install ( cd $(headers_tmp)/install/include/ && \ find . -name '.' -o -name '.*' -prune -o -print | \ cpio -pvd --preserve-modification-time \