It's similar to EXTRA_OEMAKE, which appends arguments to the scons
command
v2:
* initialise the EXTRA_OECONS if it is not defined
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
DEPENDS += "python-scons-native"
+EXTRA_OESCONS ?= ""
+
export TARGET_LINK_HASH_STYLE
scons_do_compile() {
fi
fi
- ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} CXX="${CXX}" PREFIX=${prefix} prefix=${prefix} || \
+ ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} CXX="${CXX}" PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \
oefatal "scons build execution failed."
}