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-kernel | |
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-kernel')
-rw-r--r-- | meta/recipes-kernel/cryptodev/cryptodev_1.6.inc | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/cryptodev/cryptodev_1.6.inc b/meta/recipes-kernel/cryptodev/cryptodev_1.6.inc index 946faac7d2..6a93a35a39 100644 --- a/meta/recipes-kernel/cryptodev/cryptodev_1.6.inc +++ b/meta/recipes-kernel/cryptodev/cryptodev_1.6.inc | |||
@@ -9,3 +9,5 @@ SRC_URI[md5sum] = "eade38998313c25fd7934719cdf8a2ea" | |||
9 | SRC_URI[sha256sum] = "75f1425c8ea1f8cae523905a5a046a35092327a6152800b0b86efc4e56fb3e2f" | 9 | SRC_URI[sha256sum] = "75f1425c8ea1f8cae523905a5a046a35092327a6152800b0b86efc4e56fb3e2f" |
10 | 10 | ||
11 | S = "${WORKDIR}/cryptodev-linux-${PV}" | 11 | S = "${WORKDIR}/cryptodev-linux-${PV}" |
12 | |||
13 | CLEANBROKEN = "1" | ||
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb index a107f804fa..a2f16d1406 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | |||
@@ -34,6 +34,8 @@ S = "${WORKDIR}/git" | |||
34 | 34 | ||
35 | inherit allarch update-alternatives | 35 | inherit allarch update-alternatives |
36 | 36 | ||
37 | CLEANBROKEN = "1" | ||
38 | |||
37 | do_compile() { | 39 | do_compile() { |
38 | : | 40 | : |
39 | } | 41 | } |