[oe] [PATCH][meta-oe] netmap: set MACHINE_ARCH, because it depends on MACHINE_ARCH netmap-modules

Martin Jansa martin.jansa at gmail.com
Thu Nov 12 14:47:25 UTC 2015


* it's also using MACHINE specific variables like:
  STAGING_KERNEL_DIR. STAGING_KERNEL_BUILDDIR
* drop suspicious:
  do_fetch[depends] += "netmap-modules:do_fetch"
  fetcher should use .lock files to prevent updating the same repository
  in parallel
* see:
  http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html
* fixes:
ERROR: netmap different signature for task do_configure.sigdata between qemux86copy and qemux86
basehash changed from 748eae270193023d79f7d6a69aa1b8d2 to 9267873ef5fa4474d5f60fc79044ab64
Variable MACHINE value changed from 'qemux86copy' to 'qemux86'

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-networking/recipes-kernel/netmap/netmap_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-networking/recipes-kernel/netmap/netmap_git.bb b/meta-networking/recipes-kernel/netmap/netmap_git.bb
index f15a626..a028585 100644
--- a/meta-networking/recipes-kernel/netmap/netmap_git.bb
+++ b/meta-networking/recipes-kernel/netmap/netmap_git.bb
@@ -1,6 +1,7 @@
 require netmap.inc
 
 DEPENDS = "netmap-modules"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
                 --kernel-sources=${STAGING_KERNEL_DIR} \
@@ -13,8 +14,6 @@ EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
                 "
 SRC_URI += "file://0001-testmmap-fix-compile-issue-with-gcc-5.x.patch"
 
-do_fetch[depends] += "netmap-modules:do_fetch"
-
 do_configure () {
     cd ${S}/LINUX
     ./configure ${EXTRA_OECONF}
-- 
2.6.3




More information about the Openembedded-devel mailing list