[OE-core] [PATCH 06/13] mesa: remove usage of FILESPATH

Martin Jansa martin.jansa at gmail.com
Thu May 8 10:49:20 UTC 2014


On Wed, May 07, 2014 at 11:19:52PM +0200, Petter Mabäcker wrote:
> Fixes [YOCTO #4497]
> 
> Usage of FILESPATH is discouraged, since it can make recipes harder to
> bbappend. Instead FILESEXTRAPATHS should be used to extend the path.
> Avoid using files dir in mesa, since current patchdirs are only shared
> between some of the bb-files. Also remove unused filespath addition.
> 
> Signed-off-by: Petter Mabäcker <petter at technux.se>
> ---
>  meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb b/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb
> index 8c7d8e8..9059207 100644
> --- a/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb
> +++ b/meta/recipes-graphics/mesa/mesa-gl_9.2.5.bb
> @@ -2,7 +2,7 @@ require mesa_${PV}.bb
>  
>  SUMMARY += " (OpenGL only, no EGL/GLES)"
>  
> -FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/mesa-${PV}", "${FILE_DIRNAME}/mesa"], d)}"
> +FILESEXTRAPATHS_prepend := "${THISDIR}/mesa:"

This was prefering files from mesa-${PV} (when there was version
specific file available) now it doesn't, is it correct?

>  
>  PROVIDES = "virtual/libgl virtual/mesa"
>  
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> 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: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140508/712575a0/attachment-0002.sig>


More information about the Openembedded-core mailing list