[Mantic 5/6] UBUNTU: [Packaging] remove hmake
Masahiro Yamada
masahiro.yamada at canonical.com
Fri Jul 28 13:38:16 UTC 2023
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 <masahiro.yamada at canonical.com>
---
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 \
--
2.39.2
More information about the kernel-team
mailing list