summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-07-30 13:56:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-01 22:24:15 +0100
commit6087a04cb8c5356e782628683bec4f2ef6ec1909 (patch)
tree23dbc470c44c3f92e3e2444109df5bd3e0d93791
parent40d64a5a0552736d453c358fbaa89a9749c113df (diff)
downloadpoky-6087a04cb8c5356e782628683bec4f2ef6ec1909.tar.gz
busybox: enable support for sha1sum and sha256sum applets
(From OE-Core rev: 4d9a9d748e4cd0d0ffc67907c06bd01ceda2722e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox/sha1sum.cfg1
-rw-r--r--meta/recipes-core/busybox/busybox/sha256sum.cfg1
-rw-r--r--meta/recipes-core/busybox/busybox_1.23.2.bb2
-rw-r--r--meta/recipes-core/busybox/busybox_git.bb2
4 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/sha1sum.cfg b/meta/recipes-core/busybox/busybox/sha1sum.cfg
new file mode 100644
index 0000000000..20e72d9263
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/sha1sum.cfg
@@ -0,0 +1 @@
CONFIG_SHA1SUM=y
diff --git a/meta/recipes-core/busybox/busybox/sha256sum.cfg b/meta/recipes-core/busybox/busybox/sha256sum.cfg
new file mode 100644
index 0000000000..ce652ae4c6
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox/sha256sum.cfg
@@ -0,0 +1 @@
CONFIG_SHA256SUM=y
diff --git a/meta/recipes-core/busybox/busybox_1.23.2.bb b/meta/recipes-core/busybox/busybox_1.23.2.bb
index b84f499648..8a4bae692a 100644
--- a/meta/recipes-core/busybox/busybox_1.23.2.bb
+++ b/meta/recipes-core/busybox/busybox_1.23.2.bb
@@ -33,6 +33,8 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
33 file://0001-ifconfig-fix-double-free-fatal-error-in-INET_sprint.patch \ 33 file://0001-ifconfig-fix-double-free-fatal-error-in-INET_sprint.patch \
34 file://0001-chown-fix-help-text.patch \ 34 file://0001-chown-fix-help-text.patch \
35 file://mount-via-label.cfg \ 35 file://mount-via-label.cfg \
36 file://sha1sum.cfg \
37 file://sha256sum.cfg \
36" 38"
37 39
38SRC_URI[tarball.md5sum] = "7925683d7dd105aabe9b6b618d48cc73" 40SRC_URI[tarball.md5sum] = "7925683d7dd105aabe9b6b618d48cc73"
diff --git a/meta/recipes-core/busybox/busybox_git.bb b/meta/recipes-core/busybox/busybox_git.bb
index 71e6c13b71..ade72f4b71 100644
--- a/meta/recipes-core/busybox/busybox_git.bb
+++ b/meta/recipes-core/busybox/busybox_git.bb
@@ -39,6 +39,8 @@ SRC_URI = "git://busybox.net/busybox.git \
39 file://0001-ifconfig-fix-double-free-fatal-error-in-INET_sprint.patch \ 39 file://0001-ifconfig-fix-double-free-fatal-error-in-INET_sprint.patch \
40 file://0001-chown-fix-help-text.patch \ 40 file://0001-chown-fix-help-text.patch \
41 file://mount-via-label.cfg \ 41 file://mount-via-label.cfg \
42 file://sha1sum.cfg \
43 file://sha256sum.cfg \
42" 44"
43 45
44EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y" 46EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"