criu: set CLEANBROKEN to 1

Rebuilding criu would cause the following error.

  | make: .gitid: Command not found
  | make: *** [Makefile:260: clean-top] Error 127

Fix this problem by setting CLEANBROKEN to "1".

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Chen Qi 2017-12-28 14:41:48 +08:00 committed by Bruce Ashfield
parent 09af87f0d8
commit d1969606e3

View File

@ -57,6 +57,8 @@ inherit setuptools
PACKAGECONFIG ??= "" PACKAGECONFIG ??= ""
PACKAGECONFIG[selinux] = ",,libselinux" PACKAGECONFIG[selinux] = ",,libselinux"
CLEANBROKEN = "1"
do_compile_prepend() { do_compile_prepend() {
rm -rf ${S}/images/google/protobuf/descriptor.proto rm -rf ${S}/images/google/protobuf/descriptor.proto
ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto