diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 12:54:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 15:27:03 +0100 |
commit | 23aabca217007a210c09faf1057028584626f0e1 (patch) | |
tree | fab481fa5547656f1b2868a2d4e342f782a918fa /meta/recipes-core | |
parent | d9d046c28ab1c221313162c3f8115e608c480771 (diff) | |
download | poky-23aabca217007a210c09faf1057028584626f0e1.tar.gz |
busybox: Backport makefile fix from upstream
This at least partially addresses one of the build races we've seen
on the autobuilder in busybox. Its a straightforward backport from
upstream.
(From OE-Core rev: 8599059164ad0eb908fd1177044af8bc9a9881e4)
(From OE-Core rev: 542a182af6503ac5d5ddea4bf307ea38ddaeeb50)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/busybox/busybox/makefile-fix-backport.patch | 40 | ||||
-rw-r--r-- | meta/recipes-core/busybox/busybox_1.24.1.bb | 1 |
2 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/makefile-fix-backport.patch b/meta/recipes-core/busybox/busybox/makefile-fix-backport.patch new file mode 100644 index 0000000000..2e9842e5ec --- /dev/null +++ b/meta/recipes-core/busybox/busybox/makefile-fix-backport.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 9e5820a86277818c2f83c11c2aa76d7f0a38283e Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Vlasenko <vda.linux@googlemail.com> | ||
3 | Date: Sun, 14 Aug 2016 02:54:27 +0200 | ||
4 | Subject: build system: fix include/NUM_APPLETS.h generation | ||
5 | |||
6 | TBH, it's more like "work around my bad makefile-fu" than "fix"... | ||
7 | |||
8 | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||
9 | --- | ||
10 | applets/Kbuild.src | 7 ++----- | ||
11 | 1 file changed, 2 insertions(+), 5 deletions(-) | ||
12 | |||
13 | Upstream-Status: Backport | ||
14 | |||
15 | diff --git a/applets/Kbuild.src b/applets/Kbuild.src | ||
16 | index b612399..5cc1827 100644 | ||
17 | --- a/applets/Kbuild.src | ||
18 | +++ b/applets/Kbuild.src | ||
19 | @@ -29,7 +29,7 @@ applets/applets.o: include/usage_compressed.h include/applet_tables.h | ||
20 | |||
21 | applets/applet_tables: .config include/applets.h | ||
22 | applets/usage: .config include/applets.h | ||
23 | -applets/usage_pod: .config include/applet_tables.h include/applets.h | ||
24 | +applets/usage_pod: .config include/applets.h include/applet_tables.h include/NUM_APPLETS.h | ||
25 | |||
26 | quiet_cmd_gen_usage_compressed = GEN include/usage_compressed.h | ||
27 | cmd_gen_usage_compressed = $(srctree_slash)applets/usage_compressed include/usage_compressed.h applets | ||
28 | @@ -40,8 +40,5 @@ include/usage_compressed.h: applets/usage $(srctree_slash)applets/usage_compress | ||
29 | quiet_cmd_gen_applet_tables = GEN include/applet_tables.h | ||
30 | cmd_gen_applet_tables = applets/applet_tables include/applet_tables.h include/NUM_APPLETS.h | ||
31 | |||
32 | -include/applet_tables.h: applets/applet_tables | ||
33 | - $(call cmd,gen_applet_tables) | ||
34 | - | ||
35 | -include/NUM_APPLETS.h: applets/applet_tables | ||
36 | +include/applet_tables.h include/NUM_APPLETS.h: applets/applet_tables | ||
37 | $(call cmd,gen_applet_tables) | ||
38 | -- | ||
39 | cgit v0.12 | ||
40 | |||
diff --git a/meta/recipes-core/busybox/busybox_1.24.1.bb b/meta/recipes-core/busybox/busybox_1.24.1.bb index d3dc2a2947..7edd32dcd3 100644 --- a/meta/recipes-core/busybox/busybox_1.24.1.bb +++ b/meta/recipes-core/busybox/busybox_1.24.1.bb | |||
@@ -48,6 +48,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ | |||
48 | file://CVE-2016-2147.patch \ | 48 | file://CVE-2016-2147.patch \ |
49 | file://CVE-2016-2147_2.patch \ | 49 | file://CVE-2016-2147_2.patch \ |
50 | file://ip_fix_problem_on_mips64_n64_big_endian_musl_systems.patch \ | 50 | file://ip_fix_problem_on_mips64_n64_big_endian_musl_systems.patch \ |
51 | file://makefile-fix-backport.patch \ | ||
51 | " | 52 | " |
52 | SRC_URI_append_libc-musl = " file://musl.cfg " | 53 | SRC_URI_append_libc-musl = " file://musl.cfg " |
53 | 54 | ||