Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
authorPhil Blundell <philb@gnu.org>
Sat, 5 Mar 2005 23:59:04 +0000 (23:59 +0000)
committerPhil Blundell <philb@gnu.org>
Sat, 5 Mar 2005 23:59:04 +0000 (23:59 +0000)
into stealth.nexus.co.uk:/home/pb/oe/oe

2005/03/05 23:58:46+00:00 nexus.co.uk!pb
update drm packaging to suit latest cvs version

BKrev: 422a47c8aFBbw60pvvFKU7OWnkkbhA

packages/dri/config.patch
packages/dri/drm_cvs.bb

index e69de29..cec39b0 100644 (file)
@@ -0,0 +1,10 @@
+--- dri/shared-core/drm.h.old  2004-09-14 21:42:45.000000000 +0100
++++ dri/shared-core/drm.h      2004-09-14 21:42:47.000000000 +0100
+@@ -38,7 +38,6 @@
+ #define _DRM_H_
+ #if defined(__linux__)
+-#include <linux/config.h>
+ #include <asm/ioctl.h>                /* For _IO* macros */
+ #define DRM_IOCTL_NR(n)               _IOC_NR(n)
+ #define DRM_IOC_VOID          _IOC_NONE
index 4bf3a38..c12b2b8 100644 (file)
@@ -13,11 +13,18 @@ do_compile() {
 }
 
 do_stage() {
-       oe_libinstall -a -C libdrm libxf86drm ${STAGING_LIBDIR}
+       oe_libinstall -so -C libdrm libdrm ${STAGING_LIBDIR}
        for i in xf86drmCompat.h xf86drm.h; do
                install -m 0644 libdrm/$i ${STAGING_INCDIR}
        done
        for i in drm.h; do
-               install -m 0644 shared/$i ${STAGING_INCDIR}
+               install -m 0644 shared-core/$i ${STAGING_INCDIR}
        done
 }
+
+do_install() {
+       install -d ${D}${includedir}
+       install -d ${D}/lib
+       oe_runmake -C libdrm DESTDIR="${D}" install
+}
+