Skip to contentSkip to conversation

twr-vf65gs10: fix missing kernel_module_mcc dependencies

meta-fsl-arm Superseded Andy Voltz 2 participants 5 messages Feb 20, 2014

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Andy Voltz

author
#0 lore raw

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.

author
#1 lore raw

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
index 18fc84e..ed98d79 100644
@@ -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
#2 lore raw

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

---
 recipes-bsp/libmcc/libmcc_1.03.bb |    2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/libmcc/libmcc_1.03.bb +0 -0
index 18fc84e..ed98d79 100644

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
author
#3 lore raw

PATCH 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..530a3a8 100644
@@ -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
#4 lore raw

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

---
 recipes-bsp/mqxboot/mqxboot_1.0.bb |    2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/mqxboot/mqxboot_1.0.bb +0 -0
index 17f0233..530a3a8 100644

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 -1
 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)"
--

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