Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | DEPENDS += "python-scons-native" |
| 2 | |
| 3 | EXTRA_OESCONS ?= "" |
| 4 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 5 | do_configure[noexec] = "1" |
| 6 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | scons_do_compile() { |
| 8 | ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \ |
| 9 | die "scons build execution failed." |
| 10 | } |
| 11 | |
| 12 | scons_do_install() { |
| 13 | ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \ |
| 14 | die "scons install execution failed." |
| 15 | } |
| 16 | |
| 17 | EXPORT_FUNCTIONS do_compile do_install |