Skip to contentSkip to conversation

sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency

PATCH New Martin Jansa 1 participant 2 messages Jun 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 sethdlc: Set MACHINE_ARCH, because of virtual/kernel dependency

---
 meta-networking/recipes-connectivity/sethdlc/sethdlc.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-networking/recipes-connectivity/sethdlc/sethdlc.bb +2 -1
index 3a9692f..cf74827 100644
@@ -12,7 +12,8 @@ SRC_URI[sha256sum] = "21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6a
 
 S = "${WORKDIR}/${BPN}-1.18"
 
-DEPENDS="virtual/kernel"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+DEPENDS = "virtual/kernel"
 
 EXTRA_OEMAKE="CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' \
               KERNEL_DIR=${STAGING_KERNEL_DIR} "
Signature · 1 line
2.0.0
#1 lore raw

PATCH 2/2 ktap: Set MACHINE_ARCH because of ktap-module runtime dependency

* it's possible to exclude ktap-module dependency from siggen, but then we would need to exclude virtual/kernel and that doesn't work we would need to list all posisble providers as ktap->linux-yocto
ktap->linux-foo
....

---
 meta-oe/recipes-kernel/ktap/ktap_0.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-kernel/ktap/ktap_0.4.bb +1 -1
index 20f94d5..cbdabf8 100644
@@ -22,5 +22,5 @@ do_install() {
     install -m 0755 ${S}/ktap ${D}${bindir}/
 }
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
 RDEPENDS_${PN} = "kernel-module-ktapvm"
-
Signature · 1 line
2.0.0