2012-11-14 13:21:10 +00:00
|
|
|
require xorg-driver-video.inc
|
|
|
|
|
|
|
|
SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver"
|
|
|
|
|
2012-11-23 00:47:15 +00:00
|
|
|
SUMMARY = "X.Org X server -- TI OMAP integrated graphics chipsets driver"
|
|
|
|
|
|
|
|
DESCRIPTION = "Open-source X.org graphics driver for TI OMAP graphics \
|
|
|
|
Currently relies on a closed-source submodule for EXA acceleration on \
|
|
|
|
the following chipsets: \
|
|
|
|
+ OMAP3430 \
|
|
|
|
+ OMAP3630 \
|
|
|
|
+ OMAP4430 \
|
|
|
|
+ OMAP4460 \
|
|
|
|
+ OMAP5430 \
|
|
|
|
+ OMAP5432 \
|
|
|
|
\
|
|
|
|
NOTE: this driver is work in progress.. you probably don't want to try \
|
|
|
|
and use it yet. The API/ABI between driver and kernel, and driver and \
|
|
|
|
acceleration submodules is not stable yet. This driver requires the \
|
|
|
|
omapdrm kernel driver w/ GEM support. \
|
|
|
|
"
|
2012-11-14 13:21:10 +00:00
|
|
|
|
|
|
|
LICENSE = "GPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=10ce5de3b111315ea652a5f74ec0c602"
|
2012-11-23 00:47:15 +00:00
|
|
|
DEPENDS += "virtual/libx11 libdrm xf86driproto"
|
2012-11-14 13:21:10 +00:00
|
|
|
|
|
|
|
SRCREV = "ae0394e687f1a77e966cf72f895da91840dffb8f"
|
2012-11-23 00:47:18 +00:00
|
|
|
PR = "${INC_PR}.3"
|
2012-11-14 13:21:10 +00:00
|
|
|
PV = "0.4.2+gitr${SRCPV}"
|
|
|
|
|
|
|
|
SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-omap;protocol=git \
|
2012-11-21 23:50:59 +00:00
|
|
|
file://configure.patch \
|
2012-11-14 13:21:10 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
|
|
CFLAGS += " -I${STAGING_INCDIR}/xorg "
|
|
|
|
|
|
|
|
# Use overlay 2 on omap3 to enable other apps to use overlay 1 (e.g. dmai or omapfbplay)
|
|
|
|
do_compile_prepend_armv7a () {
|
|
|
|
sed -i -e s:fb1:fb2:g ${S}/src/omap_xv.c
|
|
|
|
}
|
2012-12-25 18:43:59 +00:00
|
|
|
|
|
|
|
python () {
|
|
|
|
if not oe.utils.contains ('DISTRO_FEATURES', 'opengl', True, False, d):
|
|
|
|
raise bb.parse.SkipPackage("'opengl' not in DISTRO_FEATURES")
|
|
|
|
}
|
|
|
|
|