[meta-freescale] [meta-freescale-layer][PATCH 3/5] ipc-ust: not use IPC_UST_SOC variable

ting.liu at nxp.com ting.liu at nxp.com
Thu Jul 14 09:11:02 PDT 2016


From: Ting Liu <ting.liu at nxp.com>

bsc913x are not supported now.

Signed-off-by: Ting Liu <ting.liu at nxp.com>
---
 conf/machine/include/qoriq-base.inc     |  4 ----
 recipes-extended/ipc-ust/ipc-ust_git.bb | 11 +----------
 recipes-extended/ipc-ust/ipc.inc        |  2 +-
 3 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 8b2b0c7..c5cbe29 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -20,8 +20,4 @@ MACHINE_EXTRA_RRECOMMENDS ?= "udev-rules-qoriq"
 
 EXTRA_IMAGEDEPENDS += "u-boot cst-native"
 
-IPC_UST_SOC_bsc9131 = "B913x"
-IPC_UST_SOC_bsc9132 = "B913x"
-IPC_UST_SOC_b4 = "B4860"
-
 MACHINEOVERRIDES =. "qoriq:"
diff --git a/recipes-extended/ipc-ust/ipc-ust_git.bb b/recipes-extended/ipc-ust/ipc-ust_git.bb
index 23350b3..d8ade4e 100644
--- a/recipes-extended/ipc-ust/ipc-ust_git.bb
+++ b/recipes-extended/ipc-ust/ipc-ust_git.bb
@@ -5,21 +5,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fa38cd73d71527dc6efb546474f64d10"
 
 require ipc.inc
 
-python () {
-    if not d.getVar("IPC_UST_SOC", True):
-        raise bb.parse.SkipPackage("IPC_UST_SOC is not defined in qoriq-base.inc")
-}
-
 S = "${WORKDIR}/git"
 
 # workaround for issue of parallel build, required a actual fix in ipc source
 PARALLEL_MAKE = ""
 
-EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC}" AR="${AR}"'
-
-do_compile () {
-    oe_runmake ${IPC_UST_SOC}=1
-}
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC}" AR="${AR}" B4860=1'
 
 do_install () {
     install -d ${D}${bindir}
diff --git a/recipes-extended/ipc-ust/ipc.inc b/recipes-extended/ipc-ust/ipc.inc
index 0ccbba4..59d069b 100644
--- a/recipes-extended/ipc-ust/ipc.inc
+++ b/recipes-extended/ipc-ust/ipc.inc
@@ -3,4 +3,4 @@ DEPENDS = "virtual/kernel"
 SRC_URI = "git://git.freescale.com/ppc/sdk/ipc.git;branch=sdk-v2.0.x"
 SRCREV = "74d662707558290f070f9589177db730444bc435"
 
-COMPATIBLE_MACHINE = "(bsc9132qds|bsc9131rdb|b4860qds|b4420qds)"
+COMPATIBLE_MACHINE = "(b4860qds|b4420qds)"
-- 
1.9.2



More information about the meta-freescale mailing list