]> code.ossystems Code Review - meta-freescale.git/commitdiff
fmlib: update to sdk v1.6 release
authorZhenhua Luo <zhenhua.luo@freescale.com>
Fri, 21 Feb 2014 07:34:07 +0000 (15:34 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Tue, 8 Jul 2014 10:14:46 +0000 (18:14 +0800)
add support for new added boards

Signed-off-by: Ting Liu <b28495@freescale.com>
meta-fsl-ppc/recipes-dpaa/fmlib/fmlib_git.bb

index df7caf87aeb6271ab4d7b82606c309b1c5d0699d..04ca515adc4f65d0dba5e530dd7512bf9649ef92 100644 (file)
@@ -9,9 +9,7 @@ DEPENDS += "virtual/kernel"
 DEPENDS_virtclass-native = ""
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/fmlib.git;nobranch=1"
-SRCREV = "1fce11f17a102820a20cdbf80f557d74b169fc4c"
-SRCREV_t2080qds = "49f50a4bf4f0e34708003d7b49ce629630b68489"
-SRCREV_t2080qds-64b = "49f50a4bf4f0e34708003d7b49ce629630b68489"
+SRCREV = "6efc100cf470f271a312860c06717928554e3492"
 
 S = "${WORKDIR}/git"
 
@@ -25,19 +23,27 @@ EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \
         CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}"
 
 do_compile () {
-      oe_runmake libfm-${TARGET_ARCH_FMLIB}.a
+    if [ "t1040" = "${SOC_FAMILY}" -o "t1042" = "${SOC_FAMILY}" ];then
+        oe_runmake libfm-${TARGET_ARCH_FMLIB}-fmv3.a
+    else
+        oe_runmake libfm-${TARGET_ARCH_FMLIB}.a
+    fi
 }
 
 do_compile_virtclass-native () {
 }
 
 do_install () {
-      oe_runmake install-libfm-${TARGET_ARCH_FMLIB}
+    if [ "t1040" = "${SOC_FAMILY}" -o "t1042" = "${SOC_FAMILY}" ];then
+        oe_runmake install-libfm-${TARGET_ARCH_FMLIB}-fmv3
+    else
+        oe_runmake install-libfm-${TARGET_ARCH_FMLIB}
+    fi
 }
 
 do_install_virtclass-native () {
-      install -d ${D}/${includedir}
-      cp -rf ${S}/include/* ${D}/${includedir}
+    install -d ${D}/${includedir}
+    cp -rf ${S}/include/* ${D}/${includedir}
 }
 
 ALLOW_EMPTY_${PN} = "1"