aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-10-10 18:58:13 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-10-17 10:32:03 +0000
commit18bb0929e1832163f536bc0fd54d59ea7b66b32b (patch)
tree027dfb28f61f70d94924112ac75e7d008af7791f
parented6b5da8740034faf599010c12e3dc77e5490cd4 (diff)
downloadmeta-openembedded-contrib-18bb0929e1832163f536bc0fd54d59ea7b66b32b.tar.gz
meta-openembedded-contrib-18bb0929e1832163f536bc0fd54d59ea7b66b32b.tar.bz2
meta-openembedded-contrib-18bb0929e1832163f536bc0fd54d59ea7b66b32b.zip
toybox: Switch building from git src_uri
We need a patch e.g. https://github.com/landley/toybox/commit/78289203031afc23585035c362beec10db54958d to fix build on archlinux Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-core/toybox/toybox_git.bb (renamed from meta-oe/recipes-core/toybox/toybox_0.7.4.bb)13
1 files changed, 8 insertions, 5 deletions
diff --git a/meta-oe/recipes-core/toybox/toybox_0.7.4.bb b/meta-oe/recipes-core/toybox/toybox_git.bb
index 76a7af4595..08f9715737 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.7.4.bb
+++ b/meta-oe/recipes-core/toybox/toybox_git.bb
@@ -2,14 +2,17 @@ SUMMARY = "Toybox combines common utilities together into a single executable."
HOMEPAGE = "http://www.landley.net/toybox/"
DEPENDS = "attr"
-SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \
-"
-SRC_URI[md5sum] = "55ea59a31c7da9510c8fabe70f4bc561"
-SRC_URI[sha256sum] = "49d74ca897501e5c981516719870fe08581726f5c018abe35ef52c6f0de113e7"
-
LICENSE = "BSD-0-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511"
+PV = "0.7.4+git${SRCPV}"
+
+SRCREV = "78289203031afc23585035c362beec10db54958d"
+SRC_URI = "git://github.com/landley/toybox;protocol=https \
+"
+
+S = "${WORKDIR}/git"
+
SECTION = "base"
TOYBOX_BIN = "generated/unstripped/toybox"