blob: 1579b05c6af75ebf30bd53b788dce06a6f6d5c4b [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001DEPENDS += "python-scons-native"
2
3EXTRA_OESCONS ?= ""
4
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005do_configure[noexec] = "1"
6
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007scons_do_compile() {
8 ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
9 die "scons build execution failed."
10}
11
12scons_do_install() {
13 ${STAGING_BINDIR_NATIVE}/scons PREFIX=${D}${prefix} prefix=${D}${prefix} install ${EXTRA_OESCONS}|| \
14 die "scons install execution failed."
15}
16
17EXPORT_FUNCTIONS do_compile do_install