diff options
-rw-r--r-- | meta-fsl-ppc/recipes-dpaa/fmc/fmc_git.bb | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/meta-fsl-ppc/recipes-dpaa/fmc/fmc_git.bb b/meta-fsl-ppc/recipes-dpaa/fmc/fmc_git.bb index a9da96f8..f9bd74f6 100644 --- a/meta-fsl-ppc/recipes-dpaa/fmc/fmc_git.bb +++ b/meta-fsl-ppc/recipes-dpaa/fmc/fmc_git.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" | |||
6 | PR = "r2" | 6 | PR = "r2" |
7 | 7 | ||
8 | SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;nobranch=1" | 8 | SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;nobranch=1" |
9 | SRCREV = "4f4a3ebe447c3c982d453596a82af7b40ac3a28a" | 9 | SRCREV = "b9e52be1f62a5fcc912d44875bf155ad55650d68" |
10 | 10 | ||
11 | DEPENDS = "libxml2 fmlib tclap" | 11 | DEPENDS = "libxml2 fmlib tclap" |
12 | 12 | ||
@@ -25,14 +25,13 @@ EXTRA_OEMAKE_virtclass-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING | |||
25 | 25 | ||
26 | PARALLEL_MAKE = "" | 26 | PARALLEL_MAKE = "" |
27 | 27 | ||
28 | EXTRA_OEMAKE_PLATFORM ?= "" | ||
29 | EXTRA_OEMAKE_PLATFORM_b4 = "b4860qds" | ||
30 | EXTRA_OEMAKE_PLATFORM_t2 = "b4860qds" | ||
31 | EXTRA_OEMAKE_PLATFORM_t4 = "b4860qds" | ||
32 | EXTRA_OEMAKE_PLATFORM_t1 = "t1040qds" | ||
33 | |||
28 | do_compile () { | 34 | do_compile () { |
29 | if echo ${MACHINE} | egrep -q "^(b4|t1|t2|t4)"; then | ||
30 | EXTRA_OEMAKE_PLATFORM="b4860qds" | ||
31 | elif [ "p1023rds" = "${MACHINE}" ];then | ||
32 | EXTRA_OEMAKE_PLATFORM="p1023rds" | ||
33 | else | ||
34 | EXTRA_OEMAKE_PLATFORM="" | ||
35 | fi | ||
36 | oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source | 35 | oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source |
37 | } | 36 | } |
38 | 37 | ||