Every second invocation of do_configure failed with this error:
| CMake Error at src/CMakeLists.txt:19 (INCLUDE):
| include could not find load file:
|
| [...]/git/build-native/ImportExecutables.cmake
(From meta-openembedded rev:
ea7e9c2e00ce88573a20fcb04bd3176ca0238885)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
DEPENDS = "expat neon"
PV = "5.0.1+git${SRCPV}"
-PR = "r0"
+PR = "r1"
SRCREV = "0749dd0a35b4a54316da064475863a4ac6e28e7e"
SRC_URI = "git://github.com/metabrainz/libmusicbrainz.git \
do_configure_prepend() {
# The native build really doesn't like being rebuilt, so delete
- # it if it's already present.
- rm -rf build-native
+ # it if it's already present. Also delete all other files not
+ # known to Git to fix subsequent invocations of do_configure.
+ git clean -dfx -e /.pc/ -e /patches/ .
mkdir build-native
cd build-native
cmake -DCMAKE_C_FLAGS=${BUILD_CFLAGS} \