From: Zhenhua Luo Date: Fri, 3 May 2013 14:01:41 +0000 (+0800) Subject: fmc: deploy header and library into sysroot X-Git-Tag: 2.1~534^2~287 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=dcc7ba9d339c0fcb338d7182788c816a6220cd9d;p=meta-freescale.git fmc: deploy header and library into sysroot fmc.h and libfmc.a might be depended by other packages Signed-off-by: Zhenhua Luo --- diff --git a/meta-fsl-ppc/recipes-ucode/fmc/fmc_git.bb b/meta-fsl-ppc/recipes-ucode/fmc/fmc_git.bb index 4f852166..fd238967 100644 --- a/meta-fsl-ppc/recipes-ucode/fmc/fmc_git.bb +++ b/meta-fsl-ppc/recipes-ucode/fmc/fmc_git.bb @@ -3,7 +3,7 @@ SECTION = "fmc" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=a504ab5a8ff235e67c7301214749346c" -PR = "r1" +PR = "r2" SRC_URI = "git://git.freescale.com/ppc/sdk/fmc.git" SRCREV = "6db53fae9dfe72db0312a383733e0d3598aad3f2" @@ -21,6 +21,8 @@ EXTRA_OEMAKE_virtclass-native = 'FMCHOSTMODE=1 FMD_USPACE_HEADER_PATH="${STAGING FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' +PARALLEL_MAKE = "" + do_compile () { if [ "b4860qds" = "${MACHINE}" ] || [ "b4420qds" = "${MACHINE}" ];then EXTRA_OEMAKE_PLATFORM="b4860qds" @@ -40,8 +42,12 @@ do_install () { install -d ${D}/etc/fmc/config install -m 644 ${S}/etc/fmc/config/hxs_pdl_v3.xml ${D}/etc/fmc/config -} -PARALLEL_MAKE = "" + install -d ${D}/${includedir}/fmc + install ${S}/source/fmc.h ${D}/${includedir}/fmc + + install -d ${D}/${libdir} + install ${S}/source/libfmc.a ${D}/${libdir} +} BBCLASSEXTEND = "native"