diff options
Diffstat (limited to 'recipes-dpaa/fmlib/fmlib_git.bb')
| -rw-r--r-- | recipes-dpaa/fmlib/fmlib_git.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb new file mode 100644 index 0000000..df7caf8 --- /dev/null +++ b/recipes-dpaa/fmlib/fmlib_git.bb | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | DESCRIPTION = "Frame Manager User Space Library" | ||
| 2 | SECTION = "fman" | ||
| 3 | LICENSE = "BSD & GPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3f16fa8e677e45af3127c5c4bafc3c00" | ||
| 5 | |||
| 6 | PR = "r1" | ||
| 7 | |||
| 8 | DEPENDS += "virtual/kernel" | ||
| 9 | DEPENDS_virtclass-native = "" | ||
| 10 | |||
| 11 | SRC_URI = "git://git.freescale.com/ppc/sdk/fmlib.git;nobranch=1" | ||
| 12 | SRCREV = "1fce11f17a102820a20cdbf80f557d74b169fc4c" | ||
| 13 | SRCREV_t2080qds = "49f50a4bf4f0e34708003d7b49ce629630b68489" | ||
| 14 | SRCREV_t2080qds-64b = "49f50a4bf4f0e34708003d7b49ce629630b68489" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | TARGET_ARCH_FMLIB = "${DEFAULTTUNE}" | ||
| 19 | TARGET_ARCH_FMLIB_e5500 = "ppc32e5500" | ||
| 20 | TARGET_ARCH_FMLIB_e6500 = "ppc32e6500" | ||
| 21 | COMPATIBLE_HOST_fslmachine = ".*" | ||
| 22 | COMPATIBLE_HOST ?= "(none)" | ||
| 23 | |||
| 24 | EXTRA_OEMAKE = "DESTDIR=${D} PREFIX=${prefix} LIB_DEST_DIR=${libdir} \ | ||
| 25 | CROSS_COMPILE=${TARGET_PREFIX} KERNEL_SRC=${STAGING_KERNEL_DIR}" | ||
| 26 | |||
| 27 | do_compile () { | ||
| 28 | oe_runmake libfm-${TARGET_ARCH_FMLIB}.a | ||
| 29 | } | ||
| 30 | |||
| 31 | do_compile_virtclass-native () { | ||
| 32 | } | ||
| 33 | |||
| 34 | do_install () { | ||
| 35 | oe_runmake install-libfm-${TARGET_ARCH_FMLIB} | ||
| 36 | } | ||
| 37 | |||
| 38 | do_install_virtclass-native () { | ||
| 39 | install -d ${D}/${includedir} | ||
| 40 | cp -rf ${S}/include/* ${D}/${includedir} | ||
| 41 | } | ||
| 42 | |||
| 43 | ALLOW_EMPTY_${PN} = "1" | ||
| 44 | |||
| 45 | BBCLASSEXTEND = "native" | ||
