diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dri/drm_cvs.bb | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/packages/dri/drm_cvs.bb b/packages/dri/drm_cvs.bb index 2b105eb1fe..55cd5aa631 100644 --- a/packages/dri/drm_cvs.bb +++ b/packages/dri/drm_cvs.bb @@ -7,28 +7,14 @@ PR = "r2" S = "${WORKDIR}/drm" +inherit autotools + do_compile() { oe_runmake -C libdrm } 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 - for i in drm.h; do - install -m 0644 shared-core/$i ${STAGING_INCDIR} - done + autotools_stage_all } -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 -} |