diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-ti/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-ti/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb')
-rw-r--r-- | bsp/meta-ti/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/bsp/meta-ti/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb b/bsp/meta-ti/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb new file mode 100644 index 00000000..df1a99e9 --- /dev/null +++ b/bsp/meta-ti/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb @@ -0,0 +1,43 @@ +DESCRIPTION = "Userspace libraries for GC320 chipset on TI SoCs" +HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +CLEANBROKEN = "1" + +BRANCH = "ti-${PV}" + +SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}" +SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5" + +# There's only hardfp version available +python __anonymous() { + tunes = d.getVar("TUNE_FEATURES") + if not tunes: + return + pkgn = d.getVar("PN") + pkgv = d.getVar("PV") + if "callconvention-hard" not in tunes: + bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) + raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) +} + +TARGET_PRODUCT_omap-a15 = "jacinto6evm" + +PR = "r2" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir}" + +do_install() { + oe_runmake install + chown -R root:root ${D} +} + +INSANE_SKIP_${PN} += "ldflags" + +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST_ti-soc = "(.*)" |