firefox: Perform a number of cleanups and fix consistency issues.
[openembedded.git] / classes / scons.bbclass
index b7007b0..b139411 100644 (file)
@@ -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}/${prefix} prefix=${STAGING_DIR_HOST}/${prefix} install || \
+        oefatal "scons stage execution failed."
+}
+
+EXPORT_FUNCTIONS do_compile do_install do_stage