[yocto] [PATCH 2/3] beagleboard: xserver-kdrive xorg.conf installation

Koen Kooi koen at dominion.thruhere.net
Sat Jun 18 01:05:54 PDT 2011


Op 18 jun 2011, om 02:35 heeft Darren Hart het volgende geschreven:

> Append xserver-kdrive to allow for BSP specific xorg.conf files. This also
> appears to drag in a runtime dependency on libhal, so add that to the
> bbappend's RDEPENDS_${PN} as well.

Since when does kdrive use xorg.conf?

> Ultimately we probably want an xserver independent xorgconf recipe that
> enables installing BSP specific xorg.conf files for all the xservers. This
> works for now.

Like xserver-xorg-conf in meta-oe?


> 
> Signed-off-by: Darren Hart <dvhart at linux.intel.com>
> ---
> .../xserver-kdrive/beagleboard/xorg.conf           |   34 ++++++++++++++++++++
> .../xorg-xserver/xserver-kdrive_1.7.99.2.bbappend  |   10 ++++++
> 2 files changed, 44 insertions(+), 0 deletions(-)
> create mode 100644 meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive/beagleboard/xorg.conf
> create mode 100644 meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bbappend
> 
> diff --git a/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive/beagleboard/xorg.conf b/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive/beagleboard/xorg.conf
> new file mode 100644
> index 0000000..0335e6a
> --- /dev/null
> +++ b/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive/beagleboard/xorg.conf
> @@ -0,0 +1,34 @@
> +Section "Module"
> +	Load	"extmod"
> +	Load	"dbe"
> +	Load	"glx"
> +	Load	"freetype"
> +	Load	"type1"
> +	Load	"record"
> +	Load	"dri"
> +EndSection
> +
> +Section "Monitor"
> +	Identifier	"Builtin Default Monitor"
> +EndSection
> +
> +Section "Device"
> +	Identifier	"Builtin Default fbdev Device 0"
> +	Driver		"omapfb"
> +EndSection
> +
> +Section "Screen"
> +	Identifier	"Builtin Default fbdev Screen 0"
> +	Device		"Builtin Default fbdev Device 0"
> +	Monitor		"Builtin Default Monitor"
> +EndSection
> +
> +Section "ServerLayout"
> +	Identifier	"Builtin Default Layout"
> +	Screen		"Builtin Default fbdev Screen 0"
> +EndSection
> +
> +Section "ServerFlags"
> +	Option		"DontZap"  "0"
> +        Option		"AutoAddDevices" "False"
> +EndSection
> diff --git a/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bbappend b/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bbappend
> new file mode 100644
> index 0000000..cfa6c4f
> --- /dev/null
> +++ b/meta-yocto/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bbappend
> @@ -0,0 +1,10 @@
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> +RDEPENDS_${PN} += "libhal"
> +SRC_URI += "file://xorg.conf"
> +
> +do_install_append() {
> +	install -d ${D}/${sysconfdir}/X11
> +	install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
> +}
> +
> +
> -- 
> 1.7.1
> 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list