summaryrefslogtreecommitdiff
path: root/recipes/mesa/mesa-dri_7.2.bb
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2009-07-13 14:59:40 -0400
committerMichael Smith <msmith@cbnco.com>2009-08-24 12:29:55 -0400
commitdc929c2ebce4bd676cf725f9972de9604ed2db4d (patch)
tree5146bae7be716a50cfce69fe4f8fe814d6b7fbc7 /recipes/mesa/mesa-dri_7.2.bb
parent111ed2d52569e4865a5cd32fcbefce78c46f8565 (diff)
mesa-dri: set PACKAGE_ARCH to ${MACHINE}
${MACHINE_DRI_MODULES} is passed to configure, so the package output depends on MACHINE. As foretold by commit f06119fc :) Also switch to INC_PR and fix built of mesa-xprogs when prefix != /usr. Signed-off-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'recipes/mesa/mesa-dri_7.2.bb')
-rw-r--r--recipes/mesa/mesa-dri_7.2.bb7
1 files changed, 1 insertions, 6 deletions
diff --git a/recipes/mesa/mesa-dri_7.2.bb b/recipes/mesa/mesa-dri_7.2.bb
index 296a254841..93568432bc 100644
--- a/recipes/mesa/mesa-dri_7.2.bb
+++ b/recipes/mesa/mesa-dri_7.2.bb
@@ -6,7 +6,7 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
PE = "1"
-PR = "r6"
+PR = "${INC_PR}.0"
# most of our targets do not have DRI so will use mesa-xlib
DEFAULT_PREFERENCE = "-1"
@@ -21,8 +21,3 @@ FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
EXTRA_OECONF += "--with-driver=dri --with-dri-drivers=swrast,${MACHINE_DRI_MODULES}"
-
-do_install_append () {
- install -d ${D}/usr/bin
- install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
-}