On 01/19/2013 12:45 PM, Saul Wold wrote:
+EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'tcp-wrappers',
'--with-libwrap', '', d)}"
+

Why not use PACKAGECONFIG here?


Enabling tcp-wrapper is not a random thing for some customer,
it is a must. So I think feature is more suitable

Martin's point is you can use the PACKAGECONFIG syntax here instead of 2
base_contains.

for example:
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'tcp_wrappers',
'tcp_wrappers', '', d)}"
PACKAGECONFIG[tcp_wrappers] = "--with-libwrap,--without-libwrap,
tcp_wrappers"

See docs for more information.

Sau!

I see, thanks

-Roy

--
Best Reagrds,
Roy | RongQing Li

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to