Skip to contentSkip to conversation

pacemaker: set CLEANBROKEN to fix rebuild

PATCH New Yi Zhao 1 participant 1 message Jan 5, 2018

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 pacemaker: set CLEANBROKEN to fix rebuild

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".

---
 meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb +2 -0
index 37c3b53..c2bc787 100755
@@ -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"
Signature · 1 line
2.7.4