summaryrefslogtreecommitdiff
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-08 11:07:58 +0000
commit45b7d3add14eafc25da62bab68d4ae133f8dcb57 (patch)
tree3ed0895eec416d2c7cd78d28e7fac47d0c40e3c4 /meta/recipes-devtools/gnu-config
parenta1dacd52d8bad948dcea3c39278da1d87e3167af (diff)
downloadopenembedded-core-45b7d3add14eafc25da62bab68d4ae133f8dcb57.tar.gz
openembedded-core-45b7d3add14eafc25da62bab68d4ae133f8dcb57.tar.bz2
openembedded-core-45b7d3add14eafc25da62bab68d4ae133f8dcb57.zip
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. 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
SRC_URI[md5sum] = "bcfca5a2bb39edad4aae5a65efc84094"
SRC_URI[sha256sum] = "44f99a8e76f3e8e4fec0bb5ad4762f8e44366168554ce66cb85afbe2ed3efd8b"
-# Disable default since make clean doesn't work
-do_configure () {
- :
-}
+CLEANBROKEN = "1"
do_compile() {
:
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 \
S = "${WORKDIR}/git"
-# Disable default since make clean doesn't work
-do_configure () {
- :
-}
+CLEANBROKEN = "1"
do_compile() {
: