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

(From OE-Core rev: 3d1d287785c388bebba2ba1f2d8f843a5c6a2417)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Andreas Müller 2016-09-23 07:52:18 +02:00 committed by Richard Purdie
parent 37f7c03154
commit f82cc4b768
1 changed files with 1 additions and 1 deletions

View File

@ -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."
}