twr-vf65gs10: fix missing kernel_module_mcc dependencies
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
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
@@ -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
PATCH v2 2/2 mqxboot: add missing build dependency on kernel-module-mcc
In reply to Andy Voltzmqxboot 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
@@ -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
v3 cover twr-vf65gs10: fix missing kernel_module_mcc dependencies
In reply to Andy VoltzSorry 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.
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
@@ -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
PATCH v2 2/2 mqxboot: add missing build dependency on kernel-module-mcc
In reply to Andy Voltzmqxboot 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
@@ -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