mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2025-07-28 03:39:54 +02:00
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:
25
recipes-graphics/xorg-xserver/xf86-video-fbturbo_git.bb
Normal file
25
recipes-graphics/xorg-xserver/xf86-video-fbturbo_git.bb
Normal 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
|
||||
}
|
Reference in New Issue
Block a user