[meta-freescale] [PATCH 19/20] ipc-ust: move MACHINE specific variable out of task

Zhenhua Luo zhenhua.luo at freescale.com
Fri Aug 28 03:36:58 PDT 2015


Move SOC definition out of task.

Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 recipes-extended/ipc-ust/ipc-ust_git.bb | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/recipes-extended/ipc-ust/ipc-ust_git.bb b/recipes-extended/ipc-ust/ipc-ust_git.bb
index 5ba3411..38d15b0 100644
--- a/recipes-extended/ipc-ust/ipc-ust_git.bb
+++ b/recipes-extended/ipc-ust/ipc-ust_git.bb
@@ -5,6 +5,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fa38cd73d71527dc6efb546474f64d10"
 
 require ipc.inc
 
+SOC_bsc9131rdb = "B913x"
+SOC_bsc9132qds = "B913x"
+SOC_b4860qds = "B4860"
+SOC_b4420qds = "B4860"
+SOC_b4860qds-64b = "B4860"
+
 S = "${WORKDIR}/git"
 
 # workaround for issue of parallel build, required a actual fix in ipc source
@@ -13,10 +19,6 @@ PARALLEL_MAKE = ""
 EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC}" AR="${AR}"'
 
 do_compile () {
-    case ${MACHINE} in
-        bsc9132qds|bsc9131rdb) SOC=B913x;;
-        b4860qds|b4420qds|b4860qds-64b) SOC=B4860;;
-    esac
     oe_runmake ${SOC}=1
 }
 
-- 
2.4.3



More information about the meta-freescale mailing list