The compile hack to use a correct config.h isn't needed for native builds, so
mark it as target-specific.
(From meta-openembedded rev:
c13c5f40160d289bb62538a16900fed30621cb22)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
# Make the build fail and replace *config.h with proper one
# This is a ugly, ugly hack - Koen
-do_compile_prepend() {
+do_compile_prepend_class-target() {
BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
true
python-subprocess \
python-compression \
"
+
+RDEPENDS_${PN}_class-native = ""
+
+BBCLASSEXTEND = "native nativesdk"