[oe-commits] [openembedded-core] 12/14: scons.bbclass: rework parameters for install task

git at git.openembedded.org git at git.openembedded.org
Fri Sep 23 14:28:39 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a4884512cdae2c9f974dc20f69222c8704ebb8c8
Author: Andreas Müller <schnitzeltony at googlemail.com>
AuthorDate: Fri Sep 23 07:52:18 2016 +0200

    scons.bbclass: rework parameters for install task
    
    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>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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."
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list