diff options
Diffstat (limited to 'meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb')
| -rw-r--r-- | meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb new file mode 100644 index 00000000..ab72c109 --- /dev/null +++ b/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | |||
| @@ -0,0 +1,46 @@ | |||
| 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=a9121e8936ace09820d23f7626daaca5" | ||
| 5 | |||
| 6 | inherit features_check | ||
| 7 | |||
| 8 | REQUIRED_MACHINE_FEATURES = "gc320" | ||
| 9 | |||
| 10 | COMPATIBLE_MACHINE = "omap-a15" | ||
| 11 | |||
| 12 | CLEANBROKEN = "1" | ||
| 13 | |||
| 14 | BRANCH = "ti-${PV}" | ||
| 15 | |||
| 16 | SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}" | ||
| 17 | SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5" | ||
| 18 | |||
| 19 | RRECOMMENDS:${PN} = "ti-gc320-driver" | ||
| 20 | |||
| 21 | # There's only hardfp version available | ||
| 22 | python __anonymous() { | ||
| 23 | tunes = d.getVar("TUNE_FEATURES") | ||
| 24 | if not tunes: | ||
| 25 | return | ||
| 26 | pkgn = d.getVar("PN") | ||
| 27 | pkgv = d.getVar("PV") | ||
| 28 | if "callconvention-hard" not in tunes: | ||
| 29 | bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) | ||
| 30 | raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) | ||
| 31 | } | ||
| 32 | |||
| 33 | TARGET_PRODUCT = "jacinto6evm" | ||
| 34 | |||
| 35 | PR = "r3" | ||
| 36 | |||
| 37 | S = "${WORKDIR}/git" | ||
| 38 | |||
| 39 | EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir}" | ||
| 40 | |||
| 41 | do_install() { | ||
| 42 | oe_runmake install | ||
| 43 | chown -R root:root ${D} | ||
| 44 | } | ||
| 45 | |||
| 46 | INSANE_SKIP:${PN} += "ldflags" | ||
