diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2015-02-18 14:44:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-19 07:51:39 +0000 |
commit | da1259e0e6fc9bb372a21ecc0086c7851f65b4d4 (patch) | |
tree | 4a4ebd9ab331ca5a3aac87f5aab6258b068fffd5 /meta/recipes-core/busybox | |
parent | 0a5395738b0c5c41e48b882a5fb7c671b98dc732 (diff) | |
download | poky-da1259e0e6fc9bb372a21ecc0086c7851f65b4d4.tar.gz |
busybox: update to 1.23.1 release
* Bump SRCREV/PV
* Drop PR
* Update SRC_URI md5sum/sha256sum
* Drop 0001-build-system-Specify-nostldlib-when-linking-to-.o-fi.patch
- applied upstream and available in 1.23.1 release
(From OE-Core rev: 2c59692c4fa4a0a21dee23b8affc3c8e58ff7a11)
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox')
-rw-r--r-- | meta/recipes-core/busybox/busybox/0001-build-system-Specify-nostldlib-when-linking-to-.o-fi.patch | 40 | ||||
-rw-r--r-- | meta/recipes-core/busybox/busybox_1.23.1.bb (renamed from meta/recipes-core/busybox/busybox_1.22.1.bb) | 7 | ||||
-rw-r--r-- | meta/recipes-core/busybox/busybox_git.bb | 4 |
3 files changed, 4 insertions, 47 deletions
diff --git a/meta/recipes-core/busybox/busybox/0001-build-system-Specify-nostldlib-when-linking-to-.o-fi.patch b/meta/recipes-core/busybox/busybox/0001-build-system-Specify-nostldlib-when-linking-to-.o-fi.patch deleted file mode 100644 index 3da38bb4ca..0000000000 --- a/meta/recipes-core/busybox/busybox/0001-build-system-Specify-nostldlib-when-linking-to-.o-fi.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From 28389e59701c2408e87e886c358f8e1766c677f7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Drew Moseley <drew_moseley@mentor.com> | ||
3 | Date: Sat, 29 Mar 2014 11:13:16 -0400 | ||
4 | Subject: [PATCH] build system: Specify '-nostldlib' when linking to .o files. | ||
5 | |||
6 | For certain cross build scenarios the LD variable is overridden | ||
7 | to use the gcc executive to ensure all the target tuning parameters | ||
8 | are used. In these cases, the executive errors out as shown below | ||
9 | but since this step is only linking to a .o file the standard libs | ||
10 | are not needed. | ||
11 | |||
12 | $ make LD=gcc applets/built-in.o | ||
13 | LD applets/built-in.o | ||
14 | /usr/bin/ld: cannot find -lgcc_s | ||
15 | /usr/bin/ld: cannot find -lgcc_s | ||
16 | collect2: ld returned 1 exit status | ||
17 | make[1]: *** [applets/built-in.o] Error 1 | ||
18 | make: *** [applets_dir] Error 2 | ||
19 | |||
20 | Signed-off-by: Drew Moseley <drew_moseley@mentor.com> | ||
21 | --- | ||
22 | scripts/Makefile.build | 2 +- | ||
23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/scripts/Makefile.build b/scripts/Makefile.build | ||
26 | index 5685b5b..eba69f6 100644 | ||
27 | --- a/scripts/Makefile.build | ||
28 | +++ b/scripts/Makefile.build | ||
29 | @@ -256,7 +256,7 @@ ifdef builtin-target | ||
30 | quiet_cmd_link_o_target = LD $@ | ||
31 | # If the list of objects to link is empty, just create an empty built-in.o | ||
32 | cmd_link_o_target = $(if $(strip $(obj-y)),\ | ||
33 | - $(LD) $(ld_flags) -r -o $@ $(filter $(obj-y), $^),\ | ||
34 | + $(LD) -nostdlib $(ld_flags) -r -o $@ $(filter $(obj-y), $^),\ | ||
35 | rm -f $@; $(AR) rcs $@) | ||
36 | |||
37 | $(builtin-target): $(obj-y) FORCE | ||
38 | -- | ||
39 | 1.7.9.5 | ||
40 | |||
diff --git a/meta/recipes-core/busybox/busybox_1.22.1.bb b/meta/recipes-core/busybox/busybox_1.23.1.bb index a41879c23f..1742390ed9 100644 --- a/meta/recipes-core/busybox/busybox_1.22.1.bb +++ b/meta/recipes-core/busybox/busybox_1.23.1.bb | |||
@@ -1,7 +1,5 @@ | |||
1 | require busybox.inc | 1 | require busybox.inc |
2 | 2 | ||
3 | PR = "r32" | ||
4 | |||
5 | SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ | 3 | SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ |
6 | file://get_header_tar.patch \ | 4 | file://get_header_tar.patch \ |
7 | file://busybox-appletlib-dependency.patch \ | 5 | file://busybox-appletlib-dependency.patch \ |
@@ -30,14 +28,13 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ | |||
30 | file://inetd.conf \ | 28 | file://inetd.conf \ |
31 | file://inetd \ | 29 | file://inetd \ |
32 | file://login-utilities.cfg \ | 30 | file://login-utilities.cfg \ |
33 | file://0001-build-system-Specify-nostldlib-when-linking-to-.o-fi.patch \ | ||
34 | file://recognize_connmand.patch \ | 31 | file://recognize_connmand.patch \ |
35 | file://busybox-cross-menuconfig.patch \ | 32 | file://busybox-cross-menuconfig.patch \ |
36 | file://CVE-2014-9645_busybox_reject_module_names_with_slashes.patch \ | 33 | file://CVE-2014-9645_busybox_reject_module_names_with_slashes.patch \ |
37 | " | 34 | " |
38 | 35 | ||
39 | SRC_URI[tarball.md5sum] = "337d1a15ab1cb1d4ed423168b1eb7d7e" | 36 | SRC_URI[tarball.md5sum] = "5c94d6301a964cd91619bd4d74605245" |
40 | SRC_URI[tarball.sha256sum] = "ae0b029d0a9e4dd71a077a790840e496dd838998e4571b87b60fed7462b6678b" | 37 | SRC_URI[tarball.sha256sum] = "300f1db0a7ca4ecee8f8d8027aba250b903372e8339b7d9123d37c1e900473bf" |
41 | 38 | ||
42 | EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y" | 39 | EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y" |
43 | 40 | ||
diff --git a/meta/recipes-core/busybox/busybox_git.bb b/meta/recipes-core/busybox/busybox_git.bb index f91b552f78..529ed5b318 100644 --- a/meta/recipes-core/busybox/busybox_git.bb +++ b/meta/recipes-core/busybox/busybox_git.bb | |||
@@ -1,8 +1,8 @@ | |||
1 | require busybox.inc | 1 | require busybox.inc |
2 | 2 | ||
3 | SRCREV = "d9e0c438e10e2155513e5d26498af472c5137d65" | 3 | SRCREV = "1ecfe811fe2f70380170ef7d820e8150054e88ca" |
4 | # Lookout for PV bump too when SRCREV is changed | 4 | # Lookout for PV bump too when SRCREV is changed |
5 | PV = "1.22.1+git${SRCPV}" | 5 | PV = "1.23.1+git${SRCPV}" |
6 | 6 | ||
7 | S = "${WORKDIR}/git" | 7 | S = "${WORKDIR}/git" |
8 | 8 | ||