aboutsummaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-05-28 16:57:15 +0000
committerPhil Blundell <philb@gnu.org>2004-05-28 16:57:15 +0000
commitdf48458958af8b43de90c087a1070e1128c2977c (patch)
treec92b49ad7a66df85d2a37e08d2003b6ee29e3daf /libelf
parentff48604fcbd619eca14aa0c46eceb5e2e80df5fc (diff)
downloadopenembedded-df48458958af8b43de90c087a1070e1128c2977c.tar.gz
add staging for libelf
BKrev: 40b76f6b9ERGn839T3O8ma4Mgx_RFg
Diffstat (limited to 'libelf')
-rw-r--r--libelf/libelf_0.8.3.oe9
1 files changed, 9 insertions, 0 deletions
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
+}