Hi, Alex > PACKAGECONFIG[fips] = "--enable-fips140-mode > --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode,gnutls-nativ > e" > PACKAGECONFIG[fips-native] = "--enable-fips140-mode > --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode"
I'm sorry that this way doesn’t work, because PACKAGECONFIG[fips-native] means PACKAGECONFIG is set for fips-native not for fips. And I don't find any existing recipes that config PACKAGECONFIG[xxx] for native or target separately. I wonder If you can tell me any recipe for reference. Thank you. Best regards Lei > -----Original Message----- > From: Alexander Kanavin <alex.kana...@gmail.com> > Sent: Saturday, May 7, 2022 3:36 PM > To: Lei, Maohui <leimao...@fujitsu.com> > Cc: OE-core <openembedded-core@lists.openembedded.org> > Subject: Re: [OE-core] [PATCH v2] gnutls: Added fips support option. > > On Sat, 7 May 2022 at 04:31, leimao...@fujitsu.com <leimao...@fujitsu.com> > wrote: > > > I think the unconditional DEPENDS lines can be avoided if you use: > > But because gnutls-native also need to enable fips, circular dependency > > error > will occur in this way. > > --------------------------------------------- > > ERROR: 288 unbuildable tasks were > found.################################ > | ETA: 0:00:00 > > These are usually caused by circular dependencies and any circular > dependency chains found will be printed below. Increase the debug level to > see a > list of unbuildable tasks. > > > > Identifying dependency loops (this may take a short while)... > > Perhaps there could be > PACKAGECONFIG[fips] = "--enable-fips140-mode > --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode,gnutls-nativ > e" > PACKAGECONFIG[fips-native] = "--enable-fips140-mode > --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode" > > You can have different sets of packageconfig options for -native and target. > > Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#165381): https://lists.openembedded.org/g/openembedded-core/message/165381 Mute This Topic: https://lists.openembedded.org/mt/90926966/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-