Patchwork [meta-fsl-ppc,v2,08/38] fmc: update to sdk v1.6 release

login
register
mail settings
Submitter ting.liu@freescale.com
Date July 3, 2014, 9:42 a.m.
Message ID <1404380572-14814-9-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74891/
State Accepted
Headers show

Comments

ting.liu@freescale.com - July 3, 2014, 9:42 a.m.
From: Zhenhua Luo <zhenhua.luo@freescale.com>

add support for new added boards

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 recipes-dpaa/fmc/fmc_git.bb |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Patch

diff --git a/recipes-dpaa/fmc/fmc_git.bb b/recipes-dpaa/fmc/fmc_git.bb
index 9d98fec..9a8af27 100644
--- a/recipes-dpaa/fmc/fmc_git.bb
+++ b/recipes-dpaa/fmc/fmc_git.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c"
 PR = "r2"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;nobranch=1"
-SRCREV = "363f8497cf04d242c477b12a21f679b2ec9e3fa4"
+SRCREV = "021f7206cd80eb2e85dde1fc1bc79e8fea272de4"
 
 DEPENDS = "libxml2 fmlib tclap"
 
@@ -24,10 +24,8 @@  EXTRA_OEMAKE_virtclass-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING
 PARALLEL_MAKE = ""
 
 do_compile () {
-    if [ "b4860qds" = "${MACHINE}" ] || [ "t2080qds" = "${MACHINE}" ] || [ "b4420qds" = "${MACHINE}" ];then 
+    if echo ${MACHINE} | egrep -q "^(b4|t1|t2|t4)"; then
         EXTRA_OEMAKE_PLATFORM="b4860qds"
-    elif [ "t4240qds" = "${MACHINE}" ] || [ "t4160qds" = "${MACHINE}" ];then
-        EXTRA_OEMAKE_PLATFORM="t4240qds"
     elif [ "p1023rds" = "${MACHINE}" ];then
         EXTRA_OEMAKE_PLATFORM="p1023rds"
     else