diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb b/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb new file mode 100644 index 0000000000..454d0a1fb2 --- /dev/null +++ b/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | require xorg-driver-video.inc | ||
2 | |||
3 | SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver" | ||
4 | |||
5 | SUMMARY = "X.Org X server -- TI OMAP integrated graphics chipsets driver" | ||
6 | |||
7 | DESCRIPTION = "Open-source X.org graphics driver for TI OMAP graphics \ | ||
8 | Currently relies on a closed-source submodule for EXA acceleration on \ | ||
9 | the following chipsets: \ | ||
10 | + OMAP3430 \ | ||
11 | + OMAP3630 \ | ||
12 | + OMAP4430 \ | ||
13 | + OMAP4460 \ | ||
14 | + OMAP5430 \ | ||
15 | + OMAP5432 \ | ||
16 | \ | ||
17 | NOTE: this driver is work in progress.. you probably don't want to try \ | ||
18 | and use it yet. The API/ABI between driver and kernel, and driver and \ | ||
19 | acceleration submodules is not stable yet. This driver requires the \ | ||
20 | omapdrm kernel driver w/ GEM support. \ | ||
21 | " | ||
22 | |||
23 | LICENSE = "GPLv2+" | ||
24 | LIC_FILES_CHKSUM = "file://COPYING;md5=10ce5de3b111315ea652a5f74ec0c602" | ||
25 | DEPENDS += "virtual/libx11 libdrm xf86driproto" | ||
26 | |||
27 | SRCREV = "ae0394e687f1a77e966cf72f895da91840dffb8f" | ||
28 | PR = "${INC_PR}.3" | ||
29 | PV = "0.4.2+gitr${SRCPV}" | ||
30 | |||
31 | SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-omap \ | ||
32 | file://configure.patch \ | ||
33 | " | ||
34 | |||
35 | S = "${WORKDIR}/git" | ||
36 | |||
37 | CFLAGS += " -I${STAGING_INCDIR}/xorg " | ||
38 | |||
39 | # Use overlay 2 on omap3 to enable other apps to use overlay 1 (e.g. dmai or omapfbplay) | ||
40 | do_compile_prepend_armv7a () { | ||
41 | sed -i -e s:fb1:fb2:g ${S}/src/omap_xv.c | ||
42 | } | ||
43 | |||
44 | python () { | ||
45 | if not bb.utils.contains ('DISTRO_FEATURES', 'opengl', True, False, d): | ||
46 | raise bb.parse.SkipPackage("'opengl' not in DISTRO_FEATURES") | ||
47 | } | ||
48 | |||