Patchwork [2/2] mqxboot: add missing build dependency on kernel-module-mcc

login
register
mail settings
Submitter Andy Voltz
Date Feb. 20, 2014, 1:39 a.m.
Message ID <1392860357-14897-3-git-send-email-andy.voltz@timesys.com>
Download mbox | patch
Permalink /patch/67017/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Andy Voltz - Feb. 20, 2014, 1:39 a.m.
mqxboot pulls in a header from kernel-module-mcc

Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
---
 recipes-bsp/mqxboot/mqxboot_1.0.bb |    2 ++
 1 file changed, 2 insertions(+)
Otavio Salvador - Feb. 20, 2014, 12:34 p.m.
On Wed, Feb 19, 2014 at 10:39 PM, Andy Voltz <andy.voltz@timesys.com> wrote:
> mqxboot pulls in a header from kernel-module-mcc
>
> Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
> ---
>  recipes-bsp/mqxboot/mqxboot_1.0.bb |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-bsp/mqxboot/mqxboot_1.0.bb b/recipes-bsp/mqxboot/mqxboot_1.0.bb
> index 17f0233..530a3a8 100644
> --- a/recipes-bsp/mqxboot/mqxboot_1.0.bb
> +++ b/recipes-bsp/mqxboot/mqxboot_1.0.bb
> @@ -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.

>  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
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

Patch

diff --git a/recipes-bsp/mqxboot/mqxboot_1.0.bb b/recipes-bsp/mqxboot/mqxboot_1.0.bb
index 17f0233..530a3a8 100644
--- a/recipes-bsp/mqxboot/mqxboot_1.0.bb
+++ b/recipes-bsp/mqxboot/mqxboot_1.0.bb
@@ -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)"