Skip to contentSkip to conversation

netmap: set MACHINE_ARCH, because it depends on MACHINE_ARCH netmap-modules

PATCH New Martin Jansa 1 participant 1 message Nov 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netmap: set MACHINE_ARCH, because it depends on MACHINE_ARCH netmap-modules

* 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'

---
 meta-networking/recipes-kernel/netmap/netmap_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-networking/recipes-kernel/netmap/netmap_git.bb +1 -2
index f15a626..a028585 100644
@@ -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}
Signature · 1 line
2.6.3