[OE-core] [PATCH] scons.bbclass: rework parameters for install task

Andreas Müller schnitzeltony at googlemail.com
Fri Sep 23 05:52:18 UTC 2016


Fixes:

* During install all files were recompiled -> redurced build time
* For some recipes we found lot of links to build host image path

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 meta/classes/scons.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass
index 1579b05..b9ae19d 100644
--- a/meta/classes/scons.bbclass
+++ b/meta/classes/scons.bbclass
@@ -10,7 +10,7 @@ scons_do_compile() {
 }
 
 scons_do_install() {
-        ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \
+        ${STAGING_BINDIR_NATIVE}/scons install_root=${D}${prefix} PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} install || \
         die "scons install execution failed."
 }
 
-- 
2.5.5




More information about the Openembedded-core mailing list