[OE-core] [PATCH] mesa: Add blank r600 PACKAGECONFIG

Moseley, Drew drew_moseley at mentor.com
Mon Jun 29 19:44:44 UTC 2015


> On Jun 29, 2015, at 3:32 PM, Martin Jansa <martin.jansa at 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_moseley at 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 at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150629/dd50395f/attachment-0002.sig>


More information about the Openembedded-core mailing list