[oe] [PATCH 0/4] Add PACKAGECONFIG

Adrian Bunk bunk at stusta.de
Wed Feb 27 09:11:53 UTC 2019


On Wed, Feb 27, 2019 at 04:41:46PM +0800, changqing.li at windriver.com wrote:
> From: Changqing Li <changqing.li at windriver.com>
> 
> Add PACKAGECONFIG for 4 recipes
> 
> Changqing Li (4):
>   net-snmp: add PACKAGECONFIG disable-des
>   krb5: add PACKAGECONFIG disable-pkinit
>   openhpi: add PACKAGECONFIG disable-snmpbc
>   freeradius: add PACKAGECONFIGs
>...

It would be better having all variables consistently as enable-options,
instead of having some as disable/no negative options.

Keeping options enabled by default can instead be done with the
PACKAGECONFIG default.

In other words, instead of
  PACKAGECONFIG ??= "libgcrypt non32bit"
  ...
  PACKAGECONFIG[disable-snmp-bc] = "--disable-snmp_bc,--enable-snmp_bc"

to do
  PACKAGECONFIG ??= "libgcrypt non32bit snmp-bc"
  ...
  PACKAGECONFIG[snmp-bc] = "--enable-snmp_bc,--disable-snmp_bc"


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Openembedded-devel mailing list