summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gnu-config
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-05 18:46:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-09 10:21:19 +0000
commite6cbda6419beb7b09a82325507f492f4f95e8776 (patch)
treef1e369b649a534f1f1a008fb6d5787f3cf235c91 /meta/recipes-devtools/gnu-config
parent2020ba7c48793c2a628d90b63fd91d5c283de5ca (diff)
downloadpoky-e6cbda6419beb7b09a82325507f492f4f95e8776.tar.gz
base: Improve makefile clean handling, introduce CLEANBROKEN variable
It turns out we have quite a number of Makefiles out there without a clean target. Rather than have all cases code an empty do_configure, add a CLEANBROKEN variable which when set to "1" will disable the attempt to "make clean". This patch also adjusts various recipes which either have this problem fixed, or have been reported to have make clean failures. (From OE-Core rev: 45b7d3add14eafc25da62bab68d4ae133f8dcb57) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gnu-config')
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_20120814.bb5
-rw-r--r--meta/recipes-devtools/gnu-config/gnu-config_git.bb5
2 files changed, 2 insertions, 8 deletions
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
index 21d24f07ee..f5fce6f020 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb
@@ -17,10 +17,7 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/gnu-config/gnu-config-${PV
17SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094" 17SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094"
18SRC_URI[sha256sum] = "44f99a8e76f3e8e4fec0bb5ad4762f8e44366168554ce66cb85afbe2ed3efd8b" 18SRC_URI[sha256sum] = "44f99a8e76f3e8e4fec0bb5ad4762f8e44366168554ce66cb85afbe2ed3efd8b"
19 19
20# Disable default since make clean doesn't work 20CLEANBROKEN = "1"
21do_configure () {
22 :
23}
24 21
25do_compile() { 22do_compile() {
26 : 23 :
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
index ef9e323349..754a99a4b0 100644
--- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb
+++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb
@@ -17,10 +17,7 @@ SRC_URI = "git://git.sv.gnu.org/config.git \
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20# Disable default since make clean doesn't work 20CLEANBROKEN = "1"
21do_configure () {
22 :
23}
24 21
25do_compile() { 22do_compile() {
26 : 23 :