summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2013-06-28 03:38:40 +0000
committerZhenhua Luo <zhenhua.luo@freescale.com>2013-07-03 18:34:31 +0800
commitfece5ab55b6016ec6ca1514e74c65d05f9323658 (patch)
treeae526a8fcc3e6936e43398eb56616c306d77af83
parentec756624f8fb96774fd1a07463d3427b46e09605 (diff)
downloadmeta-fsl-ppc-fece5ab55b6016ec6ca1514e74c65d05f9323658.tar.gz
usdpaa: upgrade to the version of sdk-1.4
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
-rw-r--r--recipes-tools/usdpaa/usdpaa_git.bb16
1 files changed, 14 insertions, 2 deletions
diff --git a/recipes-tools/usdpaa/usdpaa_git.bb b/recipes-tools/usdpaa/usdpaa_git.bb
index f76ee1d..cb7b76b 100644
--- a/recipes-tools/usdpaa/usdpaa_git.bb
+++ b/recipes-tools/usdpaa/usdpaa_git.bb
@@ -10,17 +10,29 @@ DEPENDS = "libxml2 libedit ncurses readline flib fmc"
10RDEPENDS_${PN} = "libgcc" 10RDEPENDS_${PN} = "libgcc"
11 11
12SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git" 12SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git"
13SRCREV = "670ad8827fd83169ccb54a008c638dbb497b1c61" 13SRCREV = "97fe45d9697ef339e10a1885539b23fa7fcb113e"
14 14
15COMPATIBLE_HOST_fslmachine = ".*" 15COMPATIBLE_HOST_fslmachine = ".*"
16COMPATIBLE_HOST ?= "(none)" 16COMPATIBLE_HOST ?= "(none)"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20EXTRA_OEMAKE = 'V=1 CC="${CC}" LD="${LD}" AR="${AR}"' 20EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" AR="${AR}"'
21export ARCH="${TARGET_ARCH}" 21export ARCH="${TARGET_ARCH}"
22 22
23do_compile_prepend () { 23do_compile_prepend () {
24 case ${MACHINE} in
25 b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) SOC=B4860;;
26 t4240qds|t4240qds-64b) SOC=T4240;;
27 p1023rdb) SOC=P1023;;
28 *) SOC=P4080;;
29 esac
30 export FMC_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/fmc"
31 export FMLIB_EXTRA_CFLAGS="-I ${STAGING_INCDIR}/fmd \
32 -I ${STAGING_INCDIR}/fmd/Peripherals \
33 -I ${STAGING_INCDIR}/fmd/integrations \
34 -D $SOC"
35
24 export LIBXML2_CFLAGS="$(pkg-config --cflags libxml-2.0)" 36 export LIBXML2_CFLAGS="$(pkg-config --cflags libxml-2.0)"
25 export LIBXML2_LDFLAGS="$(pkg-config --libs --static libxml-2.0)" 37 export LIBXML2_LDFLAGS="$(pkg-config --libs --static libxml-2.0)"
26 export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)" 38 export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)"