diff options
Diffstat (limited to 'packages/dri')
-rw-r--r-- | packages/dri/drm_cvs.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/dri/drm_cvs.bb b/packages/dri/drm_cvs.bb index c12b2b8269..b5abcd9fb3 100644 --- a/packages/dri/drm_cvs.bb +++ b/packages/dri/drm_cvs.bb @@ -4,7 +4,7 @@ SRC_URI = "cvs://anoncvs@dri.freedesktop.org/cvs/dri;module=drm;method=pserver \ file://config.patch;patch=1" PV = "0.0cvs${CVSDATE}" -PR = "r1" +PR = "r2" S = "${WORKDIR}/drm" @@ -14,6 +14,7 @@ do_compile() { do_stage() { oe_libinstall -so -C libdrm libdrm ${STAGING_LIBDIR} + ln -sf libdrm.so ${STAGING_LIBDIR}/libdrm.so.1 for i in xf86drmCompat.h xf86drm.h; do install -m 0644 libdrm/$i ${STAGING_INCDIR} done @@ -26,5 +27,9 @@ do_install() { install -d ${D}${includedir} install -d ${D}/lib oe_runmake -C libdrm DESTDIR="${D}" install + install -d ${D}${libdir} + mv ${D}/lib/libdrm.so ${D}${libdir}/libdrm.so.1 + ln -sf libdrm.so.1 ${D}${libdir}/libdrm.so + rmdir ${D}/lib } |