From: Phil Blundell Date: Fri, 28 May 2004 16:57:15 +0000 (+0000) Subject: add staging for libelf X-Git-Tag: Release-2010-05/1~18955 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df48458958af8b43de90c087a1070e1128c2977c;p=openembedded.git add staging for libelf BKrev: 40b76f6b9ERGn839T3O8ma4Mgx_RFg --- diff --git a/libelf/libelf_0.8.3.oe b/libelf/libelf_0.8.3.oe index 7744223d01..ed497bc559 100644 --- a/libelf/libelf_0.8.3.oe +++ b/libelf/libelf_0.8.3.oe @@ -23,3 +23,12 @@ do_install () { 'libdir=${D}${libdir}' 'includedir=${D}${includedir}' \ install } + +do_stage () { + oe_libinstall -so -C lib libelf ${STAGING_LIBDIR}/ + install -d ${STAGING_INCDIR}/libelf + for i in libelf.h nlist.h gelf.h sys_elf.h; do + install -m 0644 lib/$i ${STAGING_INCDIR}/libelf/ + done + make includedir=${STAGING_INCDIR} install-compat +}