On Tue, 10 May 2022 at 02:54, [email protected]
<[email protected]> wrote:
> I'm afraid I'm not quite with you. Searched poky by the following command and 
> there is no example about how to config PACKAGECONFIG[xxx] for target or 
> native separately.
> The result is all about how to config PACKAGECONFIG for target or native.
> ----------------------------------------
> $ grep -ir PACKAGECONFIG *|grep class-native
> meta/recipes-support/libcap/libcap_2.64.bb:PACKAGECONFIG:class-native ??= ""
> meta/recipes-support/vim/vim_8.2.bb:PACKAGECONFIG:class-native = ""
> meta/recipes-support/sqlite/sqlite3.inc:PACKAGECONFIG:class-native ?= "fts4 
> fts5 rtree dyn_ext"
> ......
> ----------------------------------------
>
> But I think you mean not PACKAGECONFIG but PACKAGECONFIG[fips]. For example, 
> in libcap_2.64.bb file:
> $ cat meta/recipes-support/libcap/libcap_2.64.bb
> ......
> PACKAGECONFIG ??= "libidn  ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', 
> d)} "  //not here
> ......
> PACKAGECONFIG[fips] = "--enable-fips140-mode 
> --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode"   //Your 
> comment means modify here
> .......
>
> Did I misunderstand?

Sorry, it's always a bit confusing with PACKAGECONFIG, as the keyword
is used for two different purposes.

What I meant is something like this:

PACKAGECONFIG ??= "fips"
PACKAGECONFIG:class-native ??= "fips-native"

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#165486): 
https://lists.openembedded.org/g/openembedded-core/message/165486
Mute This Topic: https://lists.openembedded.org/mt/90926966/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to