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