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