Rebuilding pacemaker would cause the following error:

  | NOTE: make clean
  | make: *** No rule to make target 'clean'.  Stop.
  | ERROR: oe_runmake failed

Fix this problem by setting CLEANBROKEN to "1".

Signed-off-by: Yi Zhao <yi.z...@windriver.com>
---
 meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb 
b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
index 37c3b53..c2bc787 100755
--- a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
+++ b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
@@ -31,6 +31,8 @@ inherit autotools-brokensep pkgconfig systemd python-dir 
useradd
 
 S="${WORKDIR}/pacemaker-Pacemaker-${PV}"
 
+CLEANBROKEN = "1"
+
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
 PACKAGECONFIG[libesmtp] = "--with-esmtp=yes,--with-esmtp=no,libesmtp"
-- 
2.7.4

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to