From: woglinde Date: Sat, 28 Mar 2009 14:56:07 +0000 (+0100) Subject: scons.bbclass: add staging function X-Git-Tag: Release-2010-05/1~3701^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20dc6592d98595aac0a107f4eb06e27b915ee0db;p=openembedded.git scons.bbclass: add staging function --- diff --git a/classes/scons.bbclass b/classes/scons.bbclass index b7007b03a6..cd5de61e6d 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