From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id C7AE76E667 for ; Thu, 21 Jul 2016 02:43:12 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id u6L2hCPQ008309 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 20 Jul 2016 19:43:13 -0700 (PDT) Received: from pek-hostel-deb02.wrs.com (128.224.153.152) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Wed, 20 Jul 2016 19:43:12 -0700 From: To: Date: Thu, 21 Jul 2016 10:40:40 +0800 Message-ID: <1469068840-17081-1-git-send-email-mingli.yu@windriver.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Subject: [PATCH] at: add libselinux to PACKAGECONFIG X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 02:43:15 -0000 Content-Type: text/plain * add libselinux to PACKAGECONFIG for at Signed-off-by: Mingli Yu --- meta/recipes-extended/at/at_3.1.20.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-extended/at/at_3.1.20.bb b/meta/recipes-extended/at/at_3.1.20.bb index 1c3eefc..ce5ff53 100644 --- a/meta/recipes-extended/at/at_3.1.20.bb +++ b/meta/recipes-extended/at/at_3.1.20.bb @@ -7,6 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" DEPENDS = "flex flex-native \ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" +PACKAGECONFIG ?= "\ + ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ +" + +PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux," + RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)} \ " -- 2.8.1