[OE-core] dbus: only use x11 if DISTRO_FEATURES has selected it

Burton, Ross ross.burton at intel.com
Thu Oct 25 09:26:16 UTC 2012


On 25 October 2012 05:08, Denys Dmytriyenko <denis at denix.org> wrote:
>> -DEPENDS = "expat virtual/libintl virtual/libx11 libsm"
>> +X11DEPENDS = "virtual/libx11 libsm"
>> +DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
>>  DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
>>  DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
>
> Would there be any objections extending this DISTRO check to nativesdk as
> well?

Makes sense for nativesdk I guess. Tested patches welcome!

Ross




More information about the Openembedded-core mailing list