UBUNTU: [debian] prep linux-libc-dev only if do_libc_dev_package=true

Kamal Mostafa kamal at canonical.com
Wed Dec 13 19:44:25 UTC 2017


Required for do_libc_dev_package=false to not break the build.

Ignore: yes

Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 debian/rules.d/2-binary-arch.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index b0829c2..2944126 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -415,7 +415,9 @@ install-arch-headers:
 	@echo Debug: $@
 	dh_testdir
 	dh_testroot
+ifeq ($(do_libc_dev_package),true)
 	dh_prep -plinux-libc-dev
+endif
 
 	rm -rf $(headers_tmp)
 	install -d $(headers_tmp) $(headers_dir)/usr/include/
-- 
2.7.4





More information about the kernel-team mailing list