[oe-commits] Tom Rini : libffi-native: Convert from legacy staging

git version control git at git.openembedded.org
Thu Sep 30 22:16:42 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: a1506f34f49fba51d04306a214027a4af4c61b75
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a1506f34f49fba51d04306a214027a4af4c61b75

Author: Tom Rini <tom_rini at mentor.com>
Date:   Thu Sep 30 14:50:07 2010 -0700

libffi-native: Convert from legacy staging

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/libffi/libffi-native_2.0+gcc4.3.2.bb |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/recipes/libffi/libffi-native_2.0+gcc4.3.2.bb b/recipes/libffi/libffi-native_2.0+gcc4.3.2.bb
index f0859e9..4a26199 100644
--- a/recipes/libffi/libffi-native_2.0+gcc4.3.2.bb
+++ b/recipes/libffi/libffi-native_2.0+gcc4.3.2.bb
@@ -20,11 +20,13 @@ install_libffi_headers() {
 	:
 }
 
-do_stage () {
-	oe_libinstall -so -C .libs libffi ${STAGING_LIBDIR}
+do_install () {
+	install -d ${D}${libdir} ${D}${includedir}
+	oe_libinstall -so -C .libs libffi ${D}${libdir}
 
-	mkdir -p ${STAGING_INCDIR}/
 	for i in ${ffi_include}; do
-		install -m 0644 include/$i ${STAGING_INCDIR}/
+		install -m 0644 include/$i ${D}${includedir}/
 	done
 }
+
+NATIVE_INSTALL_WORKS = "1"





More information about the Openembedded-commits mailing list