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 <masahiro.yamada@canonical.com> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
16cc2770d6
commit
c1250cc308
Vendored
+1
-5
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user