summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2013-05-03 22:01:41 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2013-05-03 22:03:44 +0800
commit420a08bbc97edf879a81f2ad47f59b205c5bd81e (patch)
tree6140679f93f222018106392dca95e11da3cd4780
parentb611217d392a7af563fa3d7d0753fcf126adda94 (diff)
downloadmeta-fsl-ppc-420a08bbc97edf879a81f2ad47f59b205c5bd81e.tar.gz
fmc: deploy header and library into sysroot
fmc.h and libfmc.a might be depended by other packages Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
-rw-r--r--recipes-ucode/fmc/fmc_git.bb12
1 files changed, 9 insertions, 3 deletions
diff --git a/recipes-ucode/fmc/fmc_git.bb b/recipes-ucode/fmc/fmc_git.bb
index 4f85216..fd23896 100644
--- a/recipes-ucode/fmc/fmc_git.bb
+++ b/recipes-ucode/fmc/fmc_git.bb
@@ -3,7 +3,7 @@ SECTION = "fmc"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" 4LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c"
5 5
6PR = "r1" 6PR = "r2"
7 7
8SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git" 8SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git"
9SRCREV = "6db53fae9dfe72db0312a383733e0d3598aad3f2" 9SRCREV = "6db53fae9dfe72db0312a383733e0d3598aad3f2"
@@ -21,6 +21,8 @@ EXTRA_OEMAKE_virtclass-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING
21 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ 21 FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \
22 TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' 22 TCLAP_HEADER_PATH="${STAGING_INCDIR}" '
23 23
24PARALLEL_MAKE = ""
25
24do_compile () { 26do_compile () {
25 if [ "b4860qds" = "${MACHINE}" ] || [ "b4420qds" = "${MACHINE}" ];then 27 if [ "b4860qds" = "${MACHINE}" ] || [ "b4420qds" = "${MACHINE}" ];then
26 EXTRA_OEMAKE_PLATFORM="b4860qds" 28 EXTRA_OEMAKE_PLATFORM="b4860qds"
@@ -40,8 +42,12 @@ do_install () {
40 42
41 install -d ${D}/etc/fmc/config 43 install -d ${D}/etc/fmc/config
42 install -m 644 ${S}/etc/fmc/config/hxs_pdl_v3.xml ${D}/etc/fmc/config 44 install -m 644 ${S}/etc/fmc/config/hxs_pdl_v3.xml ${D}/etc/fmc/config
43}
44 45
45PARALLEL_MAKE = "" 46 install -d ${D}/${includedir}/fmc
47 install ${S}/source/fmc.h ${D}/${includedir}/fmc
48
49 install -d ${D}/${libdir}
50 install ${S}/source/libfmc.a ${D}/${libdir}
51}
46 52
47BBCLASSEXTEND = "native" 53BBCLASSEXTEND = "native"