summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
blob: 4ad25389cdb340d2f22e7f8f9cd2c78f5417be6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
require xorg-driver-video.inc

SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver"

DESCRIPTION = "omapfb driver supports the basic Texas Instruments OMAP \
framebuffer."

LICENSE = "MIT-X & GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=63e2cbac53863f60e2f43343fb34367f"
DEPENDS += "virtual/libx11"

SRCREV = "28c006c94e57ea71df11ec4fff79d7ffcfc4860f"
PR = "${INC_PR}.7"
PV = "0.1.1+gitr${SRCPV}"

SRC_URI = "git://git.pingu.fi/xf86-video-omapfb;protocol=http \
  file://0001-Revert-Set-a-large-CRTC-upper-limit-to-not-prune-lar.patch \
  file://0002-Revert-Set-virtual-size-when-configuring-framebuffer.patch \
  file://0003-force-plain-mode.patch \
  file://0004-blacklist-tv-out.patch \
  file://0005-Attempt-to-fix-VRFB.patch \
  file://0006-omapfb-port-to-new-xserver-video-API.patch \
  file://0007-always_include_xorg_server.h.patch \
"

S = "${WORKDIR}/git"

EXTRA_OECONF_armv7a = " --enable-neon "
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/omapfb-xv.c
}