summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}