twr-vf65gs10: fix missing kernel_module_mcc dependencies
We are in the process of preparing updates to the mcc packages and kernel for the twr-vf65gs10, but I ran into a couple of build errors which I didn't notice in my initial integration of these packages.
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.
PATCH 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
@@ -5,6 +5,7 @@ LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d" RDEPENDS_${PN} = "kernel-module-mcc" +DEPENDS = "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
Re: [PATCH 1/2] libmcc: add missing build dependency on kernel-module-mcc
Hello Andy,
Glad to see you active here again :)
Quoted 13 lines · Andy Voltz
kernel-module-mcc provides a header which libmcc includes. also add cflags to pull this in
Signed-off-by Andy Voltz <[email protected]>--- recipes-bsp/libmcc/libmcc_1.03.bb | 2 ++ 1 file changed, 2 insertions(+)recipes-bsp/libmcc/libmcc_1.03.bb +0
-0
recipes-bsp/libmcc/libmcc_1.03.bb LICENSE = "GPL-2.0" · line 8
Quoted 4 lines
recipes-bsp/libmcc/libmcc_1.03.bb +1
-0@@ -5,6 +5,7 @@ LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d" RDEPENDS_${PN} = "kernel-module-mcc" +DEPENDS = "kernel-module-mcc"
Please put DEPENDS before RDEPENDS.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
PATCH 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
@@ -5,6 +5,7 @@ LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d" RDEPENDS_${PN} = "kernel-module-mcc" +DEPENDS = "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
Re: [PATCH 2/2] mqxboot: add missing build dependency on kernel-module-mcc
Quoted 12 lines · Andy Voltz
mqxboot pulls in a header from kernel-module-mcc
Signed-off-by Andy Voltz <[email protected]>--- recipes-bsp/mqxboot/mqxboot_1.0.bb | 2 ++ 1 file changed, 2 insertions(+)recipes-bsp/mqxboot/mqxboot_1.0.bb +0
-0
recipes-bsp/mqxboot/mqxboot_1.0.bb LICENSE = "GPL-2.0" · line 8
Quoted 4 lines
recipes-bsp/mqxboot/mqxboot_1.0.bb +1
-0@@ -5,6 +5,7 @@ LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d" RDEPENDS_${PN} = "kernel-module-mcc" +DEPENDS = "kernel-module-mcc"
Same comment from previous patch.
Quoted 16 lines
recipes-bsp/mqxboot/mqxboot_1.0.bb +1
-1inherit 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)" --1.7.9.5
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750