diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-05 18:46:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-09 10:21:19 +0000 |
commit | e6cbda6419beb7b09a82325507f492f4f95e8776 (patch) | |
tree | f1e369b649a534f1f1a008fb6d5787f3cf235c91 /meta/recipes-extended | |
parent | 2020ba7c48793c2a628d90b63fd91d5c283de5ca (diff) | |
download | poky-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-extended')
-rw-r--r-- | meta/recipes-extended/cups/cups.inc | 2 | ||||
-rw-r--r-- | meta/recipes-extended/lsb/lsb_4.1.bb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index fbdc48eab1..945f69a2c4 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
@@ -15,6 +15,8 @@ SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \ | |||
15 | 15 | ||
16 | LEAD_SONAME = "libcupsdriver.so" | 16 | LEAD_SONAME = "libcupsdriver.so" |
17 | 17 | ||
18 | CLEANBROKEN = "1" | ||
19 | |||
18 | inherit autotools-brokensep binconfig useradd systemd | 20 | inherit autotools-brokensep binconfig useradd systemd |
19 | 21 | ||
20 | USERADD_PACKAGES = "${PN}" | 22 | USERADD_PACKAGES = "${PN}" |
diff --git a/meta/recipes-extended/lsb/lsb_4.1.bb b/meta/recipes-extended/lsb/lsb_4.1.bb index d265731e04..e012497550 100644 --- a/meta/recipes-extended/lsb/lsb_4.1.bb +++ b/meta/recipes-extended/lsb/lsb_4.1.bb | |||
@@ -21,6 +21,8 @@ SRC_URI[md5sum] = "30537ef5a01e0ca94b7b8eb6a36bb1e4" | |||
21 | SRC_URI[sha256sum] = "99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172" | 21 | SRC_URI[sha256sum] = "99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172" |
22 | S = "${WORKDIR}/lsb-release-1.4" | 22 | S = "${WORKDIR}/lsb-release-1.4" |
23 | 23 | ||
24 | CLEANBROKEN = "1" | ||
25 | |||
24 | do_install(){ | 26 | do_install(){ |
25 | oe_runmake install prefix=${D} mandir=${D}/${datadir}/man/ DESTDIR=${D} | 27 | oe_runmake install prefix=${D} mandir=${D}/${datadir}/man/ DESTDIR=${D} |
26 | 28 | ||