Skip to contentSkip to conversation

twr-vf65gs10: fix missing kernel_module_mcc dependencies

PATCH Superseded Andy Voltz 1 participant 6 messages Feb 20, 2014

lore
Share & tools
lore

Andy Voltz

author
#0 lore raw

v2 cover twr-vf65gs10: fix missing kernel_module_mcc dependencies

The mcc userspace packages for the Vybrid Tower require headers from kernel_module_mcc as well as the module itself at runtime.

This series adds these missing deps.

Changes in v2: Put DEPENDS before RDEPENDS

author
#1 lore raw

PATCH v2 1/2 libmcc: add missing build dependency on kernel-module-mcc

kernel-module-mcc provides a header which libmcc includes. also add cflags to pull this in

---
 recipes-bsp/libmcc/libmcc_1.03.bb |    2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/libmcc/libmcc_1.03.bb +2 -0
index 18fc84e..950495c 100644
@@ -4,6 +4,7 @@ DESCRIPTION = "Timesys Multicore communication Library"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
+DEPENDS = "kernel-module-mcc"
 RDEPENDS_${PN} = "kernel-module-mcc"
 
 inherit autotools
@@ -16,5 +17,6 @@ SRC_URI[md5sum] = "adac15d52206be21a4589b2b923af4cc"
 SRC_URI[sha256sum] = "8b4d88f260d4d3a67ee2c16e20112e0584403f350182087daa1cfafeceb16a7f"
 
 S = "${WORKDIR}/libmcc-${PV}"
+CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
 
 COMPATIBLE_MACHINE = "(vf60)"
Signature · 1 line
1.7.9.5
author
#2 lore raw

PATCH v2 2/2 mqxboot: add missing build dependency on kernel-module-mcc

In reply to Andy Voltz

mqxboot pulls in a header from kernel-module-mcc

---
 recipes-bsp/mqxboot/mqxboot_1.0.bb |    2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/mqxboot/mqxboot_1.0.bb +2 -0
index 17f0233..707cfba 100644
@@ -4,6 +4,7 @@ DESCRIPTION = "Timesys MQX Image loader - starts an MQX image on the M4"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
+DEPENDS = "kernel-module-mcc"
 RDEPENDS_${PN} = "kernel-module-mcc"
 
 inherit autotools
@@ -14,5 +15,6 @@ SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421"
 SRC_URI[sha256sum] = "c2f66ae962fe2529578d5c007e3f91a36085b714a0ea276f47bc3aea90e69699"
 
 S = "${WORKDIR}/mqxboot-${PV}"
+CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
 
 COMPATIBLE_MACHINE = "(vf60)"
Signature · 1 line
1.7.9.5
author
#3 lore raw

v3 cover twr-vf65gs10: fix missing kernel_module_mcc dependencies

In reply to Andy Voltz

Sorry for the noise! I forgot the sign-off in the last patchset.

The mcc userspace packages for the Vybrid Tower require headers from kernel_module_mcc as well as the module itself at runtime.

This series adds these missing deps.

Changes in v2: Put DEPENDS before RDEPENDS
Changes in v3: added sign-offs.

author
#4 lore raw

PATCH v2 1/2 libmcc: add missing build dependency on kernel-module-mcc

kernel-module-mcc provides a header which libmcc includes. also add cflags to pull this in

---
 recipes-bsp/libmcc/libmcc_1.03.bb |    2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/libmcc/libmcc_1.03.bb +2 -0
index 18fc84e..950495c 100644
@@ -4,6 +4,7 @@ DESCRIPTION = "Timesys Multicore communication Library"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
+DEPENDS = "kernel-module-mcc"
 RDEPENDS_${PN} = "kernel-module-mcc"
 
 inherit autotools
@@ -16,5 +17,6 @@ SRC_URI[md5sum] = "adac15d52206be21a4589b2b923af4cc"
 SRC_URI[sha256sum] = "8b4d88f260d4d3a67ee2c16e20112e0584403f350182087daa1cfafeceb16a7f"
 
 S = "${WORKDIR}/libmcc-${PV}"
+CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
 
 COMPATIBLE_MACHINE = "(vf60)"
Signature · 1 line
1.7.9.5
author
#5 lore raw

PATCH v2 2/2 mqxboot: add missing build dependency on kernel-module-mcc

In reply to Andy Voltz

mqxboot pulls in a header from kernel-module-mcc

---
 recipes-bsp/mqxboot/mqxboot_1.0.bb |    2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/mqxboot/mqxboot_1.0.bb +2 -0
index 17f0233..707cfba 100644
@@ -4,6 +4,7 @@ DESCRIPTION = "Timesys MQX Image loader - starts an MQX image on the M4"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
+DEPENDS = "kernel-module-mcc"
 RDEPENDS_${PN} = "kernel-module-mcc"
 
 inherit autotools
@@ -14,5 +15,6 @@ SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421"
 SRC_URI[sha256sum] = "c2f66ae962fe2529578d5c007e3f91a36085b714a0ea276f47bc3aea90e69699"
 
 S = "${WORKDIR}/mqxboot-${PV}"
+CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
 
 COMPATIBLE_MACHINE = "(vf60)"
Signature · 1 line
1.7.9.5