emenlow - boot to a GUI
Here are a couple of small fixes that allow an emenlow image to boot to a GUI. The X server now RDEPENDS on the packages that need to be in the image. xserver-xorg-video-psb needed a name change to depend on libdrm_poulsbo. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
This commit is contained in:
parent
d9f22d4024
commit
ae035f151f
|
@ -1,6 +1,6 @@
|
|||
require ../meta/packages/xorg-xserver/xserver-xf86-dri-lite.inc
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
PROTO_DEPS += "xf86driproto dri2proto"
|
||||
|
||||
|
@ -15,6 +15,7 @@ SRC_URI += "file://fix_open_max_preprocessor_error.patch"
|
|||
|
||||
EXTRA_OECONF += "--enable-dri --enable-dri2 --enable-dga --enable-glx"
|
||||
|
||||
DEPENDS += "psb-firmware xpsb-glx psb-kernel-source libdrm-poulsbo libva"
|
||||
RDEPENDS_${PN} += "xserver-xorg-video-psb psb-firmware xpsb-glx \
|
||||
psb-kernel-source libdrm-poulsbo libva"
|
||||
|
||||
COMPATIBLE_MACHINE = "emenlow"
|
||||
|
|
13
meta-emenlow/packages/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/libdrm-poulsbo.patch
vendored
Normal file
13
meta-emenlow/packages/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/libdrm-poulsbo.patch
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
Index: xserver-xorg-video-psb-0.32.1/configure.ac
|
||||
===================================================================
|
||||
--- xserver-xorg-video-psb-0.32.1.orig/configure.ac
|
||||
+++ xserver-xorg-video-psb-0.32.1/configure.ac
|
||||
@@ -94,7 +94,7 @@ AC_MSG_RESULT([$DRI])
|
||||
|
||||
AM_CONDITIONAL(DRI, test x$DRI = xyes)
|
||||
if test "$DRI" = yes; then
|
||||
- PKG_CHECK_MODULES(DRI, [libdrm-poulsbo >= 2.0 xf86driproto])
|
||||
+ PKG_CHECK_MODULES(DRI, [libdrm_poulsbo >= 2.0 xf86driproto])
|
||||
AC_DEFINE(XF86DRI,1,[Enable DRI driver support])
|
||||
AC_DEFINE(XF86DRI_DEVEL,1,[Enable developmental DRI driver support])
|
||||
fi
|
|
@ -1,7 +1,7 @@
|
|||
DESCRIPTION = "2D graphics driver for Poulsbo"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://MIT_License.txt;md5=732825ecdcf420261531d935fcd914a7"
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
inherit autotools
|
||||
|
||||
|
@ -16,7 +16,8 @@ SRC_URI = "https://launchpad.net/~gma500/+archive/ppa/+files/xserver-xorg-video-
|
|||
file://01_disable_lid_timer.patch;patch=1 \
|
||||
file://psb_xvtempfix.patch;patch=1 \
|
||||
file://psb_mixed.patch;patch=1 \
|
||||
file://dri-h.patch"
|
||||
file://dri-h.patch \
|
||||
file://libdrm-poulsbo.patch"
|
||||
|
||||
export DRI_CFLAGS="-I${STAGING_INCDIR}/psb -I${STAGING_INCDIR}/psb/drm \
|
||||
-I${STAGING_INCDIR}/X11/dri"
|
||||
|
|
Loading…
Reference in New Issue