diff options
author | Ting Liu <b28495@freescale.com> | 2014-07-24 15:48:14 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2014-07-29 17:23:52 +0800 |
commit | 229689b0a4471a971294f063b6dadc3cebe09115 (patch) | |
tree | 176a661732249f1d1d56f5fef5fe710e79a01daa /recipes-dpaa | |
parent | 4899d5806e5a1d276b12fcac5372568a9dbe9fbc (diff) | |
download | meta-fsl-ppc-229689b0a4471a971294f063b6dadc3cebe09115.tar.gz |
fmlib: use SOC_FAMILY as override
Signed-off-by: Ting Liu <b28495@freescale.com>
Diffstat (limited to 'recipes-dpaa')
-rw-r--r-- | recipes-dpaa/fmlib/fmlib_git.bb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb index d59d6ac..04b94a3 100644 --- a/recipes-dpaa/fmlib/fmlib_git.bb +++ b/recipes-dpaa/fmlib/fmlib_git.bb | |||
@@ -22,12 +22,10 @@ COMPATIBLE_HOST ?= "(none)" | |||
22 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ | 22 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ |
23 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" | 23 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" |
24 | 24 | ||
25 | COMPILE_TARGET = "libfm-${TARGET_ARCH_FMLIB}.a" | ||
26 | COMPILE_TARGET_t1 = "libfm-${TARGET_ARCH_FMLIB}-fmv3.a" | ||
25 | do_compile () { | 27 | do_compile () { |
26 | if [ "t1040" = "${SOC_FAMILY}" -o "t1042" = "${SOC_FAMILY}" ];then | 28 | oe_runmake ${COMPILE_TARGET} |
27 | oe_runmake libfm-${TARGET_ARCH_FMLIB}-fmv3.a | ||
28 | else | ||
29 | oe_runmake libfm-${TARGET_ARCH_FMLIB}.a | ||
30 | fi | ||
31 | } | 29 | } |
32 | 30 | ||
33 | do_compile_virtclass-native () { | 31 | do_compile_virtclass-native () { |