diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-09-02 17:10:32 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:18 -0300 |
commit | efa3c73dd97c62ed2a4e6cf56db7f9dc7f349a37 (patch) | |
tree | 418833382154e2e1809d2e8dee540ce40362f30f /recipes-extended/ipc-ust | |
parent | ebe3bb62f466b6dc390d9cc063a589ce6cf16d94 (diff) | |
download | meta-freescale-efa3c73dd97c62ed2a4e6cf56db7f9dc7f349a37.tar.gz |
ipc-ust: move SOC specific variables to qoriq-base.inc
* Add IPC_UST_SOC variables in qoriq-base.inc to define SOC type for ipc-ust
* Use IPC_UST_SOC in ipc-ust bb file
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-extended/ipc-ust')
-rw-r--r-- | recipes-extended/ipc-ust/ipc-ust_git.bb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/recipes-extended/ipc-ust/ipc-ust_git.bb b/recipes-extended/ipc-ust/ipc-ust_git.bb index 5ba3411f..c39716b4 100644 --- a/recipes-extended/ipc-ust/ipc-ust_git.bb +++ b/recipes-extended/ipc-ust/ipc-ust_git.bb | |||
@@ -5,6 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fa38cd73d71527dc6efb546474f64d10" | |||
5 | 5 | ||
6 | require ipc.inc | 6 | require ipc.inc |
7 | 7 | ||
8 | python () { | ||
9 | if not d.getVar("IPC_UST_SOC", True): | ||
10 | raise bb.parse.SkipPackage("IPC_UST_SOC is not defined in qoriq-base.inc") | ||
11 | } | ||
12 | |||
8 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
9 | 14 | ||
10 | # workaround for issue of parallel build, required a actual fix in ipc source | 15 | # workaround for issue of parallel build, required a actual fix in ipc source |
@@ -13,11 +18,7 @@ PARALLEL_MAKE = "" | |||
13 | EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC}" AR="${AR}"' | 18 | EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC}" AR="${AR}"' |
14 | 19 | ||
15 | do_compile () { | 20 | do_compile () { |
16 | case ${MACHINE} in | 21 | oe_runmake ${IPC_UST_SOC}=1 |
17 | bsc9132qds|bsc9131rdb) SOC=B913x;; | ||
18 | b4860qds|b4420qds|b4860qds-64b) SOC=B4860;; | ||
19 | esac | ||
20 | oe_runmake ${SOC}=1 | ||
21 | } | 22 | } |
22 | 23 | ||
23 | do_install () { | 24 | do_install () { |