diff options
| author | Gowtham Tammana <g-tammana@ti.com> | 2016-08-23 00:14:59 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2016-08-23 14:40:14 -0400 |
| commit | 7e84356c3bb8a2628e1d356b7e4d4f040fa1b0fa (patch) | |
| tree | b6015b8afc6cdcc93a74748003e1c3042ac19262 /recipes-graphics | |
| parent | 30e001db25b8d66a51aa8071e274d00df390e798 (diff) | |
| download | meta-ti-7e84356c3bb8a2628e1d356b7e4d4f040fa1b0fa.tar.gz | |
ti-gc320-libs: add recipe for gc320 user lib
Userspace libraries for GC320 chipset on TI SoCs
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics')
| -rw-r--r-- | recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb b/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb new file mode 100644 index 00000000..45c8d519 --- /dev/null +++ b/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | DESCRIPTION = "Userspace libraries for GC320 chipset on TI SoCs" | ||
| 2 | HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs" | ||
| 3 | LICENSE = "TI-TSPA" | ||
| 4 | LIC_FILES_CHKSUM = "file://Manifest.html;md5=4d759c4e533af6aaeff2af7f405697c2" | ||
| 5 | |||
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 7 | |||
| 8 | CLEANBROKEN = "1" | ||
| 9 | |||
| 10 | BRANCH = "ti-${PV}" | ||
| 11 | |||
| 12 | SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}" | ||
| 13 | SRCREV = "ab0ca5bff345f6c13807fea3c4acabf5f2b9b10a" | ||
| 14 | |||
| 15 | # There's only hardfp version available | ||
| 16 | python __anonymous() { | ||
| 17 | tunes = bb.data.getVar("TUNE_FEATURES", d, 1) | ||
| 18 | if not tunes: | ||
| 19 | return | ||
| 20 | pkgn = bb.data.getVar("PN", d, 1) | ||
| 21 | pkgv = bb.data.getVar("PV", d, 1) | ||
| 22 | if "callconvention-hard" not in tunes: | ||
| 23 | bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) | ||
| 24 | raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) | ||
| 25 | } | ||
| 26 | |||
| 27 | TARGET_PRODUCT_omap-a15 = "jacinto6evm" | ||
| 28 | |||
| 29 | PR = "r1" | ||
| 30 | |||
| 31 | S = "${WORKDIR}/git" | ||
| 32 | |||
| 33 | EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir}" | ||
| 34 | |||
| 35 | do_install() { | ||
| 36 | oe_runmake install | ||
| 37 | } | ||
| 38 | |||
| 39 | INSANE_SKIP_${PN} += "ldflags" | ||
