diff options
author | Ting Liu <ting.liu@nxp.com> | 2016-07-01 12:27:16 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-08-12 11:41:02 -0300 |
commit | 4f6e4985c3a66005c65bb0980e226dbba1943c68 (patch) | |
tree | 1364260ebf6101528791eee9eb81f1a4da42c413 | |
parent | 3bd70c1ac0dc8f4bddae7aeea443a87fcd33e7cd (diff) | |
download | meta-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.bb | 23 |
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 @@ | |||
1 | DESCRIPTION = "Frame Manager Configuration tool" | 1 | SUMMARY = "Frame Manager Configuration tool" |
2 | SECTION = "fmc" | ||
3 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" |
5 | 4 | ||
6 | PR = "r2" | 5 | PR = "r2" |
7 | 6 | ||
8 | SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;branch=sdk-v1.9.x" | ||
9 | SRCREV = "a079d2c844edd85dff85a317a63198e7988bcd09" | ||
10 | |||
11 | DEPENDS = "libxml2 fmlib tclap" | 7 | DEPENDS = "libxml2 fmlib tclap" |
12 | 8 | ||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 9 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
14 | COMPATIBLE_HOST_qoriq-ppc = ".*" | 10 | |
15 | COMPATIBLE_HOST ?= "(none)" | 11 | SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git;branch=sdk-v1.9.x" |
12 | SRCREV = "a079d2c844edd85dff85a317a63198e7988bcd09" | ||
16 | 13 | ||
17 | S = "${WORKDIR}/git" | 14 | S = "${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 | ||
26 | PARALLEL_MAKE = "" | ||
27 | |||
28 | EXTRA_OEMAKE_PLATFORM ?= "" | 23 | EXTRA_OEMAKE_PLATFORM ?= "" |
29 | EXTRA_OEMAKE_PLATFORM_b4 = "b4860qds" | 24 | EXTRA_OEMAKE_PLATFORM_b4 = "b4860qds" |
30 | EXTRA_OEMAKE_PLATFORM_t2 = "b4860qds" | 25 | EXTRA_OEMAKE_PLATFORM_t2 = "b4860qds" |
31 | EXTRA_OEMAKE_PLATFORM_t4 = "b4860qds" | 26 | EXTRA_OEMAKE_PLATFORM_t4 = "b4860qds" |
32 | EXTRA_OEMAKE_PLATFORM_t1 = "t1040qds" | 27 | EXTRA_OEMAKE_PLATFORM_t1 = "t1040qds" |
28 | EXTRA_OEMAKE_PLATFORM_ls1043ardb = "ls1043" | ||
33 | 29 | ||
34 | do_compile () { | 30 | do_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 | ||
38 | do_install () { | 34 | do_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 | ||
48 | PARALLEL_MAKE = "" | ||
52 | BBCLASSEXTEND = "native" | 49 | BBCLASSEXTEND = "native" |
50 | COMPATIBLE_HOST ?= "(none)" | ||
51 | COMPATIBLE_HOST_qoriq = ".*" | ||