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'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2015-11-12 15:45:20 +01:00
parent 72c82837f6
commit f6a3cd4dcd

View File

@ -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}