[meta-ti] [PATCH] netbase: Fix file search path for 'interfaces'

Denys Dmytriyenko denys at ti.com
Mon Jan 14 15:31:02 PST 2013


On Sat, Dec 29, 2012 at 05:36:29AM -0700, Gary Thomas wrote:
> This .bbappend file is used to override the 'interfaces' file for
> certain targets.  The current version is broken in that it does not
> search the correct path(s).  This patch fixes that, as well as marking
> the resulting package as target specific.

Thanks. There was similar patch earlier, but w/o marking resulting package as 
machine specific. For that matter, shouldn't the main netbase recipe in 
oe-core do it instead? As it comes with bunch of qemu-arch-specific interfaces 
files anyway, and we just add one more for beagleboard...

-- 
Denys


> Signed-off-by: Gary Thomas <gary at mlbassoc.com>
> ---
>  recipes-core/netbase/netbase_5.0.bbappend |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/recipes-core/netbase/netbase_5.0.bbappend b/recipes-core/netbase/netbase_5.0.bbappend
> index 4b8d0e6..e5fa909 100644
> --- a/recipes-core/netbase/netbase_5.0.bbappend
> +++ b/recipes-core/netbase/netbase_5.0.bbappend
> @@ -1,3 +1,2 @@
> -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
> -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
> -
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> -- 
> 1.7.7.6
> 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
> 



More information about the meta-ti mailing list