[oe-commits] woglinde : scons.bbclass: add staging function
GIT User account
git at amethyst.openembedded.net
Tue Mar 31 08:55:58 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 20dc6592d98595aac0a107f4eb06e27b915ee0db
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=20dc6592d98595aac0a107f4eb06e27b915ee0db
Author: woglinde <heinold at inf.fu-berlin.de>
Date: Sat Mar 28 15:56:07 2009 +0100
scons.bbclass: add staging function
---
classes/scons.bbclass | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/classes/scons.bbclass b/classes/scons.bbclass
index b7007b0..cd5de61 100644
--- a/classes/scons.bbclass
+++ b/classes/scons.bbclass
@@ -11,4 +11,10 @@ scons_do_install() {
oefatal "scons install execution failed."
}
-EXPORT_FUNCTIONS do_compile do_install
+scons_do_stage() {
+ install -d ${D}${prefix}
+ ${STAGING_BINDIR_NATIVE}/scons PREFIX=${STAGING_DIR_HOST}/${layout_prefix} prefix=${STAGING_DIR_HOST}/${layout_prefix} install || \
+ oefatal "scons stage execution failed."
+}
+
+EXPORT_FUNCTIONS do_compile do_install do_stage
More information about the Openembedded-commits
mailing list