xserver-xf86-config: Use SOC specific assignements

In this way the modifications will be used on all RPI boards.

Change-Id: Ife10db876db85c1c4944028a0b49ccae4d8c0d41
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
Andrei Gherzan 2015-02-08 00:04:59 +02:00
parent b89a2743fb
commit e1d4448ce8
3 changed files with 7 additions and 4 deletions

View File

@ -2,6 +2,9 @@ include conf/machine/include/rpi-default-settings.inc
include conf/machine/include/rpi-default-versions.inc include conf/machine/include/rpi-default-versions.inc
include conf/machine/include/rpi-default-providers.inc include conf/machine/include/rpi-default-providers.inc
SOC_FAMILY = "rpi"
include conf/machine/include/soc-family.inc
IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg"
SERIAL_CONSOLE ?= "115200 ttyAMA0" SERIAL_CONSOLE ?= "115200 ttyAMA0"

View File

@ -1,10 +1,10 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append_raspberrypi = " file://xorg.conf.d/10-evdev.conf " SRC_URI_append_rpi = " file://xorg.conf.d/10-evdev.conf "
do_install_append_raspberrypi () { do_install_append_rpi () {
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${WORKDIR}/xorg.conf.d/* ${D}/${sysconfdir}/X11/xorg.conf.d/ install -m 0644 ${WORKDIR}/xorg.conf.d/* ${D}/${sysconfdir}/X11/xorg.conf.d/
} }
FILES_${PN}_raspberrypi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*" FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"

View File

@ -1,3 +1,3 @@
EXTRA_OECONF_append_raspberrypi = " CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads \ EXTRA_OECONF_append_rpi = " CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads \
-I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux' \ -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux' \
--with-egl-window-system=rpi" --with-egl-window-system=rpi"