From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 2C35074DDC for ; Fri, 25 May 2018 02:40:05 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id w4P2e7Oe008167 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 24 May 2018 19:40:07 -0700 (PDT) Received: from pek-lpg-core1.wrs.com (128.224.156.132) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.361.1; Thu, 24 May 2018 19:40:06 -0700 From: Robert Yang To: Date: Fri, 25 May 2018 10:48:11 +0800 Message-ID: <5e17001bc93d4c8ba7eaa513080076cc1b382647.1527216285.git.liezhi.yang@windriver.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 Subject: [PATCH 06/24] 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: Fri, 25 May 2018 02:40:06 -0000 Content-Type: text/plain From: Mingli Yu * add libselinux to PACKAGECONFIG for at Signed-off-by: Mingli Yu Signed-off-by: Robert Yang --- 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 8fe3b43..b76e83d 100644 --- a/meta/recipes-extended/at/at_3.1.20.bb +++ b/meta/recipes-extended/at/at_3.1.20.bb @@ -8,6 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" DEPENDS = "flex flex-native bison-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.7.4