summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@nxp.com>2016-07-01 12:27:16 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-08-12 11:41:02 -0300
commit4f6e4985c3a66005c65bb0980e226dbba1943c68 (patch)
tree1364260ebf6101528791eee9eb81f1a4da42c413
parent3bd70c1ac0dc8f4bddae7aeea443a87fcd33e7cd (diff)
downloadmeta-freescale-4f6e4985c3a66005c65bb0980e226dbba1943c68.tar.gz
fmc: set EXTRA_OEMAKE_PLATFORM for ls1043ardb
Also use ${sysconfdir} to replace /etc. Signed-off-by: Ting Liu <ting.liu@nxp.com>
-rw-r--r--dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb23
1 files changed, 11 insertions, 12 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
index d54b8454..39008d10 100644
--- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
+++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb
@@ -1,18 +1,15 @@
1DESCRIPTION = "Frame Manager Configuration tool" 1SUMMARY = "Frame Manager Configuration tool"
2SECTION = "fmc"
3LICENSE = "MIT" 2LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" 3LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c"
5 4
6PR = "r2" 5PR = "r2"
7 6
8SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;branch=sdk-v1.9.x"
9SRCREV = "a079d2c844edd85dff85a317a63198e7988bcd09"
10
11DEPENDS = "libxml2 fmlib tclap" 7DEPENDS = "libxml2 fmlib tclap"
12 8
13PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
14COMPATIBLE_HOST_qoriq-ppc = ".*" 10
15COMPATIBLE_HOST ?= "(none)" 11SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;branch=sdk-v1.9.x"
12SRCREV = "a079d2c844edd85dff85a317a63198e7988bcd09"
16 13
17S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
18 15
@@ -23,13 +20,12 @@ EXTRA_OEMAKE_virtclass-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING
23 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ 20 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
24 TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' 21 TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
25 22
26PARALLEL_MAKE = ""
27
28EXTRA_OEMAKE_PLATFORM ?= "" 23EXTRA_OEMAKE_PLATFORM ?= ""
29EXTRA_OEMAKE_PLATFORM_b4 = "b4860qds" 24EXTRA_OEMAKE_PLATFORM_b4 = "b4860qds"
30EXTRA_OEMAKE_PLATFORM_t2 = "b4860qds" 25EXTRA_OEMAKE_PLATFORM_t2 = "b4860qds"
31EXTRA_OEMAKE_PLATFORM_t4 = "b4860qds" 26EXTRA_OEMAKE_PLATFORM_t4 = "b4860qds"
32EXTRA_OEMAKE_PLATFORM_t1 = "t1040qds" 27EXTRA_OEMAKE_PLATFORM_t1 = "t1040qds"
28EXTRA_OEMAKE_PLATFORM_ls1043ardb = "ls1043"
33 29
34do_compile () { 30do_compile () {
35 oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source 31 oe_runmake MACHINE=${EXTRA_OEMAKE_PLATFORM} -C source
@@ -37,10 +33,10 @@ do_compile () {
37 33
38do_install () { 34do_install () {
39 install -d ${D}/${bindir} 35 install -d ${D}/${bindir}
40 install -m 755 ${S}/source/fmc ${D}/${bindir}/fmc 36 install -m 755 ${S}/source/fmc ${D}/${bindir}
41 37
42 install -d ${D}/etc/fmc/config 38 install -d ${D}${sysconfdir}/fmc/config
43 install -m 644 ${S}/etc/fmc/config/hxs_pdl_v3.xml ${D}/etc/fmc/config 39 install -m 644 ${S}${sysconfdir}/fmc/config/hxs_pdl_v3.xml ${D}${sysconfdir}/fmc/config
44 40
45 install -d ${D}/${includedir}/fmc 41 install -d ${D}/${includedir}/fmc
46 install ${S}/source/fmc.h ${D}/${includedir}/fmc 42 install ${S}/source/fmc.h ${D}/${includedir}/fmc
@@ -49,4 +45,7 @@ do_install () {
49 install ${S}/source/libfmc.a ${D}/${libdir} 45 install ${S}/source/libfmc.a ${D}/${libdir}
50} 46}
51 47
48PARALLEL_MAKE = ""
52BBCLASSEXTEND = "native" 49BBCLASSEXTEND = "native"
50COMPATIBLE_HOST ?= "(none)"
51COMPATIBLE_HOST_qoriq = ".*"