diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2012-03-23 23:30:42 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-26 23:29:44 +0100 |
| commit | 46f4df3052b9403730900da680c9e62c0c757a28 (patch) | |
| tree | fc7e716aa8e50550dc2f4d04dfb26265813a5399 | |
| parent | dd61d59c47f95a3f9b451f4cc903c5c31621ac0c (diff) | |
| download | poky-46f4df3052b9403730900da680c9e62c0c757a28.tar.gz | |
classes: scons: add EXTRA_OESCONS
(From OE-Core rev: 8c9ff3a5df85339e5d2b85fa00e471b6a3d17bd2)
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/scons.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index 211746fd0f..a07a366df8 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclass | |||
| @@ -1,12 +1,14 @@ | |||
| 1 | DEPENDS += "python-scons-native" | 1 | DEPENDS += "python-scons-native" |
| 2 | 2 | ||
| 3 | EXTRA_OESCONS ?= "" | ||
| 4 | |||
| 3 | scons_do_compile() { | 5 | scons_do_compile() { |
| 4 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} || \ | 6 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \ |
| 5 | bbfatal "scons build execution failed." | 7 | bbfatal "scons build execution failed." |
| 6 | } | 8 | } |
| 7 | 9 | ||
| 8 | scons_do_install() { | 10 | scons_do_install() { |
| 9 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install || \ | 11 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \ |
| 10 | bbfatal "scons install execution failed." | 12 | bbfatal "scons install execution failed." |
| 11 | } | 13 | } |
| 12 | 14 | ||
