Return-Path: X-Greylist: delayed 387 seconds by postgrey-1.34 at layers.openembedded.org; Wed, 21 Jun 2017 15:28:57 UTC Received: from mail1.bemta12.messagelabs.com (mail1.bemta12.messagelabs.com [216.82.251.16]) by mail.openembedded.org (Postfix) with ESMTP id 2A0BE719E2 for ; Wed, 21 Jun 2017 15:28:57 +0000 (UTC) Received: from [216.82.251.35] by server-16.bemta-12.messagelabs.com id 41/13-02746-63F8A495; Wed, 21 Jun 2017 15:22:30 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFKsWRWlGSWpSXmKPExsVySpdNU9e03yv S4PBUM4vrR0Mtpv9bw+7A5HFu4wpGj/YTfWwBTFGsmXlJ+RUJrBmb905gLJimXPF03zfmBsZf 8l2MnBxCAlsZJT711ncxcgHZWxglvk34zgbhHGSUWH/0ASNIFZuAvsSz07tYuxg5OIQF1CTWb 0kGMUUEtCW+PmUHqRAR0JO4f/krE4jNIqAqMWX9drA4r4C7xNmpjWBxRgExie+n1oDZzALiEr eezAezJQQEJJbsOc8MYYtKvHz8jxXCNpDYunQfC4StILGyu4ENwraW2D9vKSvEnByJ2a0b2CB 2CUqcnPmEBeIeGYkZE+azQfyoIrFu1wbWCYwis5CsnoWkfRaSdoi4jsSC3Z/YIGxtiWULXzPD 2GcOPGZCFl/AyL6KUaM4tagstUjXyEwvqSgzPaMkNzEzR9fQ0EgvN7W4ODE9NScxqVgvOT93E yMw3uoZGBh3MK5q9DrEKMnBpCTKW+7tFSnEl5SfUpmRWJwRX1Sak1p8iFGDg0Ogd83qC4xSLH n5ealKErzGfUB1gkWp6akVaZk5wIQAUyrBwaMkwpvXA5TmLS5IzC3OTIdInWJUlBLnLQPpEwB JZJTmwbXBktAlRlkpYV5GBgYGIZ6C1KLczBJU+VeM4hyMSsK8eb1AU3gy80rgpr8CWswEtPjF EQ+QxSWJCCmpBsYduevK2tff3Jh+2PrOyaV1jtZplSdmXyp0Ewi/2+9+95HE4STx0muzb0kG8 edpb676wjP3QF+HHsvc3MuMrCJ5qy+uz+Fj3GN33VQpdOoklbMThb9/Dy74NjHZ1jKU3zXrTc 7yqTPNvkfc0ak0aFtSm/Nkspuy5kXbjVm3t3FZf5fp5BRlU1JiKc5INNRiLipOBADbe5XcPQM AAA== X-Env-Sender: Fritz.Cardoz@harman.com X-Msg-Ref: server-14.tower-151.messagelabs.com!1498058547!101101234!1 X-Originating-IP: [202.45.6.41] X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 105324 invoked from network); 21 Jun 2017 15:22:29 -0000 Received: from unknown (HELO HIBDWSMB10.ad.harman.com) (202.45.6.41) by server-14.tower-151.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 21 Jun 2017 15:22:29 -0000 Received: from HIBDWSMB07.ad.harman.com (10.99.236.97) by HIBDWSMB10.ad.harman.com (10.99.236.101) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 21 Jun 2017 20:52:13 +0530 Received: from HIBDWSMB08.ad.harman.com (10.99.236.98) by HIBDWSMB07.ad.harman.com (10.99.236.97) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Wed, 21 Jun 2017 20:52:13 +0530 Received: from HIBDWSMB08.ad.harman.com ([fe80::70a8:29e6:4c9f:2734]) by HIBDWSMB08.ad.harman.com ([fe80::70a8:29e6:4c9f:2734%12]) with mapi id 15.00.1263.000; Wed, 21 Jun 2017 20:52:13 +0530 From: "Cardoz, Fritz" Thread-Topic: Conditionally adding bblayers Thread-Index: AdLqoKj6c7FDv06VSdiLbCRTtRZufA== Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.99.236.43] x-exclaimer-md-config: 4a26c407-9f7b-4db1-94e4-bcbc87a799a8 MIME-Version: 1.0 To: Undisclosed recipients:; X-Mailman-Approved-At: Mon, 24 Jul 2017 13:48:57 +0000 Subject: Conditionally adding bblayers X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 21 Jun 2017 15:28:57 -0000 X-Original-Date: Wed, 21 Jun 2017 15:22:13 +0000 X-List-Received-Date: Wed, 21 Jun 2017 15:28:57 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_d9a0e4d22d9c4d19909ee6dde0258bd1HIBDWSMB08adharmancom_" --_000_d9a0e4d22d9c4d19909ee6dde0258bd1HIBDWSMB08adharmancom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all,. Is there a possibility to add a layer into BBLAYERS variable conditionally = in conf/bblayers.conf My use case is I have a feature "foo" being enabled as part of DISTRO_FEATU= RES in the conf/local.conf and also add the same into OVERRIDES. However, the override does not apply when bitbake parses the configuration. Conf/local.conf: . . DISTRO_FEATURES_append :=3D " foo" OVERRIDES .=3D "${@bb.utils.contains('DISTRO_FEATURES', 'foo', ':foo', '', = d)}" Conf/bblayers.conf: . . BBLAYERS_append_foo +=3D " \ ${BSPDIR}/meta-bar \ " Strangely, bitbake -e shows that the BBLAYERS contains this "meta-bar" laye= r when dumping the environment. Any suggestions? I am currently on poky-jethro. Thanks, Fritz --_000_d9a0e4d22d9c4d19909ee6dde0258bd1HIBDWSMB08adharmancom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,.

 

Is there a possibility to add a layer into BBLAYERS = variable conditionally in conf/bblayers.conf

My use case is I have a feature “foo” be= ing enabled as part of DISTRO_FEATURES in the conf/local.conf and also add = the same into OVERRIDES.

 

However, the override does not apply when bitbake pa= rses the configuration.

 

Conf/local.conf:

.

.

DISTRO_FEATURES_append :=3D " foo"

OVERRIDES .=3D “${@bb.utils.contains('DISTRO_F= EATURES', 'foo', ':foo', '', d)}”

 

Conf/bblayers.conf:

.

.

BBLAYERS_append_foo +=3D " \

  ${BSPDIR}/meta-bar \

"

 

Strangely, bitbake –e shows that the BBLAYERS = contains this ”meta-bar” layer when dumping the environment.

 

Any suggestions? I am currently on poky-jethro.=

 

Thanks,

Fritz

--_000_d9a0e4d22d9c4d19909ee6dde0258bd1HIBDWSMB08adharmancom_--