Correctly install mali and fbturbo driver:

- add correct xorg config
- For mali-sunxi driver to work it also need library files from sunxi-mali-dev
  package. Adding sunxi-mali-dev to XSERVER force the installation of
  the -dev
This commit is contained in:
Raoul Hecky
2013-10-29 22:38:45 +01:00
parent 2352ee9620
commit 51fe9392f2
7 changed files with 48 additions and 40 deletions

View File

@ -0,0 +1,25 @@
require recipes-graphics/xorg-driver/xorg-driver-video.inc
DESCRIPTION = "X.Org X server -- A10/A13 display driver"
PR = "2"
LICENSE = "MIT-X"
LIC_FILES_CHKSUM = "file://COPYING;md5=f91dc3ee5ce59eb4b528e67e98a31266"
SRC_URI = "git://github.com/ssvb/xf86-video-fbturbo.git;protocol=http;branch=master \
file://20-fbturbo.conf"
SRCREV_pn-${PN} = "fed3148bad26186dd04707cdac67809a666f1742"
S = "${WORKDIR}/git"
CFLAGS += " -I${STAGING_INCDIR}/xorg "
DEPENDS += "sunxi-mali"
FILES_${PN} += "${datadir}/X11/xorg.conf.d/20-fbturbo.conf"
do_install_append() {
install -d ${D}${datadir}/X11/xorg.conf.d
install -m 0644 ${WORKDIR}/20-fbturbo.conf ${D}${datadir}/X11/xorg.conf.d
}