From df48458958af8b43de90c087a1070e1128c2977c Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Fri, 28 May 2004 16:57:15 +0000 Subject: add staging for libelf BKrev: 40b76f6b9ERGn839T3O8ma4Mgx_RFg --- libelf/libelf_0.8.3.oe | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libelf') 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 +} -- cgit 1.2.3-korg