summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-graphics/libgal/ti-gc320-libs_5.0.11.p7.bb
diff options
context:
space:
mode:
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.bb46
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 @@
1DESCRIPTION = "Userspace libraries for GC320 chipset on TI SoCs"
2HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs"
3LICENSE = "TI-TSPA"
4LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5"
5
6inherit features_check
7
8REQUIRED_MACHINE_FEATURES = "gc320"
9
10COMPATIBLE_MACHINE = "omap-a15"
11
12CLEANBROKEN = "1"
13
14BRANCH = "ti-${PV}"
15
16SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}"
17SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
18
19RRECOMMENDS:${PN} = "ti-gc320-driver"
20
21# There's only hardfp version available
22python __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
33TARGET_PRODUCT = "jacinto6evm"
34
35PR = "r3"
36
37S = "${WORKDIR}/git"
38
39EXTRA_OEMAKE += "DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT} LIBDIR=${libdir}"
40
41do_install() {
42 oe_runmake install
43 chown -R root:root ${D}
44}
45
46INSANE_SKIP:${PN} += "ldflags"