Skip to contentSkip to conversation

toybox: Fix configure failure

PATCH New Paul Barker 1 participant 2 messages Mar 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 toybox: Fix configure failure

do_configure is currently failing as HOSTCC defaults to just 'cc' in the toybox Makefile.

---
 meta-oe/recipes-core/toybox/toybox_0.7.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-core/toybox/toybox_0.7.2.bb +2 -0
index 93ef45bb5..84146584d 100644
@@ -16,6 +16,8 @@ SECTION = "base"
 
 TOYBOX_BIN = "generated/unstripped/toybox"
 
+EXTRA_OEMAKE = 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
+
 do_configure() {
     oe_runmake defconfig
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 toybox: Upgrade to 0.7.3

---
 meta-oe/recipes-core/toybox/{toybox_0.7.2.bb => toybox_0.7.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-core/toybox/{toybox_0.7.2.bb => toybox_0.7.3.bb} (93%)
meta-oe/recipes-core/toybox/toybox_0.7.3.bb renamed from meta-oe/recipes-core/toybox/toybox_0.7.2.bb +2 -2
similarity index 93%
rename from meta-oe/recipes-core/toybox/toybox_0.7.2.bb
rename to meta-oe/recipes-core/toybox/toybox_0.7.3.bb
index 84146584d..0cd44ff64 100644
@@ -6,8 +6,8 @@ SRC_URI = " \
     http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \
 "
 
-SRC_URI[md5sum] = "372d8fdf6ea3675edbf1f6a4109b6db6"
-SRC_URI[sha256sum] = "79da71c7c39cef0a5f7b834f0b17d0d436e7994dd33e912f581b4c12d3b1681f"
+SRC_URI[md5sum] = "6fa2a001402cb067ba541e0d8948da50"
+SRC_URI[sha256sum] = "e6469b508224e0d2e4564dda05c4bb47aef5c28bf29d6c983bcdc6e3a0cd29d6"
 
 LICENSE = "BSD-0-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511"
Signature · 1 line
2.11.0