DORMANTno replies

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

From: Andreas Müller <hidden>
Date: 2016-09-23 05:53:33
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help