Patchwork [meta-fsl-ppc] hypervisor: Compile only for fsl machines

login
register
mail settings
Submitter Khem Raj
Date May 21, 2013, 6:18 p.m.
Message ID <1369160318-17848-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/50269/
State Accepted
Headers show

Comments

Khem Raj - May 21, 2013, 6:18 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-tools/embedded-hv/hypervisor_git.bb |    3 +++
 1 file changed, 3 insertions(+)
Zhenhua Luo - May 22, 2013, 10:51 a.m.
Applied, thanks. 


Best Regards,

Zhenhua


> -----Original Message-----
> From: Khem Raj [mailto:raj.khem@gmail.com]
> Sent: Wednesday, May 22, 2013 2:19 AM
> To: meta-freescale@yoctoproject.org; Luo Zhenhua-B19537
> Cc: Khem Raj
> Subject: [meta-fsl-ppc][PATCH] hypervisor: Compile only for fsl machines
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes-tools/embedded-hv/hypervisor_git.bb |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/recipes-tools/embedded-hv/hypervisor_git.bb b/recipes-
> tools/embedded-hv/hypervisor_git.bb
> index 25942ee..5e9e442 100644
> --- a/recipes-tools/embedded-hv/hypervisor_git.bb
> +++ b/recipes-tools/embedded-hv/hypervisor_git.bb
> @@ -31,6 +31,9 @@ EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX}
> CC="${TARGET_PREFIX}gcc ${TOOLCHA  DEFCONFIG = "defconfig"
>  DEFCONFIG_powerpc64 = "64bit_defconfig"
> 
> +COMPATIBLE_HOST_fslmachine = ".*"
> +COMPATIBLE_HOST ?= "(none)"
> +
>  inherit cml1
>  do_configure () {
>  	oe_runmake ${DEFCONFIG}
> --
> 1.7.9.5
>

Patch

diff --git a/recipes-tools/embedded-hv/hypervisor_git.bb b/recipes-tools/embedded-hv/hypervisor_git.bb
index 25942ee..5e9e442 100644
--- a/recipes-tools/embedded-hv/hypervisor_git.bb
+++ b/recipes-tools/embedded-hv/hypervisor_git.bb
@@ -31,6 +31,9 @@  EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHA
 DEFCONFIG = "defconfig"
 DEFCONFIG_powerpc64 = "64bit_defconfig"
 
+COMPATIBLE_HOST_fslmachine = ".*"
+COMPATIBLE_HOST ?= "(none)"
+
 inherit cml1
 do_configure () {
 	oe_runmake ${DEFCONFIG}