From patchwork Wed Dec 13 19:44:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 848200 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3yxnGG6bQ5z9s81; Thu, 14 Dec 2017 06:44:54 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ePCxX-0005l3-Jk; Wed, 13 Dec 2017 19:44:51 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1ePCxV-0005jm-F6 for kernel-team@lists.ubuntu.com; Wed, 13 Dec 2017 19:44:49 +0000 Received: from 1.general.kamal.us.vpn ([10.172.68.52] helo=fourier) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1ePCxV-0008TP-2M for kernel-team@lists.ubuntu.com; Wed, 13 Dec 2017 19:44:49 +0000 Received: from kamal by fourier with local (Exim 4.86_2) (envelope-from ) id 1ePCxS-00043N-Qr for kernel-team@lists.ubuntu.com; Wed, 13 Dec 2017 11:44:46 -0800 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: UBUNTU: [debian] prep linux-libc-dev only if do_libc_dev_package=true Date: Wed, 13 Dec 2017 11:44:25 -0800 Message-Id: <1513194265-15518-2-git-send-email-kamal@canonical.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513194265-15518-1-git-send-email-kamal@canonical.com> References: <1513194265-15518-1-git-send-email-kamal@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Required for do_libc_dev_package=false to not break the build. Ignore: yes Signed-off-by: Kamal Mostafa --- 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/