Skip to contentSkip to conversation

meta: set CLEANBROKEN for 3 recipes

PATCH New Robert Yang 1 participant 5 messages Jan 14, 2015

lore
Share & tools
lore
#0 lore raw

cover meta: set CLEANBROKEN for 3 recipes

The following changes since commit b61a2acc321489c3427f0afa3059486dc144a13b:

bind: Update libxml2 check to make it deterministic. (2015-01-08 09:21:18 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/clean
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/clean

Robert Yang (4):
slang: set CLEANBROKEN
mkelfimage: set CLEANBROKEN
quilt: set CLEANBROKEN
autotools.bbclass: print make clean

 meta/classes/autotools.bbclass                     |    1 +
 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb |    2 ++
 meta/recipes-devtools/quilt/quilt-0.63.inc         |    2 ++
 meta/recipes-extended/slang/slang_2.2.4.bb         |    2 ++
 4 files changed, 7 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/4 slang: set CLEANBROKEN

When make clean:

| Makefile is older than the configure script.
| Please re-run the configure script.
| make: *** [Makefile] Error 1
---
 meta/recipes-extended/slang/slang_2.2.4.bb |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-extended/slang/slang_2.2.4.bb +2 -0
index f3003c9..ed1190a 100644
@@ -26,6 +26,8 @@ SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-${PV}.tar.bz2 \
 
 inherit autotools-brokensep
 
+CLEANBROKEN = "1"
+
 SRC_URI[md5sum] = "7fcfd447e378f07dd0c0bae671fe6487"
 SRC_URI[sha256sum] = "9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db"
 
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/4 mkelfimage: set CLEANBROKEN

In reply to Robert Yang

Fix when rebuild:
| DEBUG: Executing shell function autotools_preconfigure | Makefile:1: Makefile.conf: No such file or directory

---
 meta/recipes-devtools/mkelfimage/mkelfimage_git.bb |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/mkelfimage/mkelfimage_git.bb +2 -0
index bcf68a8..28aff91 100644
@@ -14,6 +14,8 @@ SRC_URI = "git://review.coreboot.org/p/coreboot;protocol=http \
            file://fix-makefile-to-find-libz.patch   \
           "
 
+CLEANBROKEN = "1"
+
 S = "${WORKDIR}/git/util/mkelfImage"
 
 CFLAGS += "-fno-stack-protector"
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/4 quilt: set CLEANBROKEN

In reply to Robert Yang

Fix when rebuild:

| DEBUG: Executing shell function autotools_preconfigure
| Please run ./configure
| make: *** [Makefile] Error 1
---
 meta/recipes-devtools/quilt/quilt-0.63.inc |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/quilt/quilt-0.63.inc +2 -0
index 433d6b4..220a3bc 100644
@@ -19,6 +19,8 @@ EXTRA_OECONF_darwin += "--without-date \
                         --without-getopt \
                         "
 
+CLEANBROKEN = "1"
+
 PACKAGES += "guards guards-doc"
 FILES_${PN} = "${sysconfdir} ${datadir}/quilt \
                ${bindir}/quilt ${libdir}/quilt"
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH 4/4 autotools.bbclass: print make clean

In reply to Robert Yang

It makes us easier to see make clean failed.

---
 meta/classes/autotools.bbclass |    1 +
 1 file changed, 1 insertion(+)
meta/classes/autotools.bbclass +1 -0
index ca04e79..402ee1b 100644
@@ -111,6 +111,7 @@ autotools_preconfigure() {
 				# regenerate them even if CFLAGS/LDFLAGS are different
 				cd ${S}
 				if [ "${CLEANBROKEN}" != "1" -a \( -e Makefile -o -e makefile -o -e GNUmakefile \) ]; then
+					echo "Running \"${MAKE} clean\" in ${S}"
 					${MAKE} clean
 				fi
 				find ${S} -name \*.la -delete
Signature · 1 line
1.7.9.5