> On Jun 29, 2015, at 3:32 PM, Martin Jansa <martin.ja...@gmail.com> wrote:
> 
> On Mon, Jun 29, 2015 at 02:23:50PM -0400, Drew Moseley wrote:
>> Fixes warnings such as:
>>    WARNING: mesa: invalid PACKAGECONFIG: r600
>> when building with the r600 configuration.
> 
> Shouldn't you fix your PACKAGECONFIG value instead (wherever it's set to
> include r600)?

It’s very possible that this is not the best solution for the warning.  The 
line that sets the GALLIUMDRIVERS_LLVM33 variable right above the line I added 
is ultimately what I’m trying to have behave properly.  Previously setting 
PACKAGECONFIG+=“r600” was sufficient to enable this setting but with commit 
hash c2cbe0f60e6d19ab9a8321be74d636d2c36671a8 this now throws a warning.  Any 
suggestions for a cleaner solution?

Drew

> 
>> 
>> Signed-off-by: Drew Moseley <drew_mose...@mentor.com>
>> ---
>> meta/recipes-graphics/mesa/mesa.inc | 1 +
>> 1 file changed, 1 insertion(+)
>> 
>> diff --git a/meta/recipes-graphics/mesa/mesa.inc 
>> b/meta/recipes-graphics/mesa/mesa.inc
>> index 97ed02f..09e80e8 100644
>> --- a/meta/recipes-graphics/mesa/mesa.inc
>> +++ b/meta/recipes-graphics/mesa/mesa.inc
>> @@ -53,6 +53,7 @@ PACKAGECONFIG[openvg] = "--enable-openvg, --disable-openvg"
>> 
>> GALLIUMDRIVERS = "swrast"
>> GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', 
>> 'radeonsi,r600', '', d)}"
>> +PACKAGECONFIG[r600] = ""
>> GALLIUMDRIVERS_LLVM33_ENABLED = 
>> "${@base_version_less_or_equal('MESA_LLVM_RELEASE', '3.2', False, 
>> len('${GALLIUMDRIVERS_LLVM33}') > 0, d)}"
>> GALLIUMDRIVERS_LLVM = "r300,svga,nouveau${@',${GALLIUMDRIVERS_LLVM33}' if 
>> ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}"
>> GALLIUMDRIVERS_append_x86 = "${@bb.utils.contains('PACKAGECONFIG', 
>> 'gallium-llvm', ',${GALLIUMDRIVERS_LLVM}', '', d)}"
>> --
>> 1.9.1
>> 
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> --
> Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to