[oe] [meta-oe][PATCH 4/7] toybox: Upgrade to 0.7.4

Khem Raj raj.khem at gmail.com
Fri Sep 22 18:05:10 UTC 2017


On Fri, Sep 22, 2017 at 10:43 AM, Andre McCurdy <armccurdy at gmail.com> wrote:
> On Thu, Sep 21, 2017 at 8:23 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> enable parallel build
>>
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>> ---
>>  .../recipes-core/toybox/{toybox_0.7.3.bb => toybox_0.7.4.bb}   | 10 ++++------
>>  1 file changed, 4 insertions(+), 6 deletions(-)
>>  rename meta-oe/recipes-core/toybox/{toybox_0.7.3.bb => toybox_0.7.4.bb} (87%)
>>
>> diff --git a/meta-oe/recipes-core/toybox/toybox_0.7.3.bb b/meta-oe/recipes-core/toybox/toybox_0.7.4.bb
>> similarity index 87%
>> rename from meta-oe/recipes-core/toybox/toybox_0.7.3.bb
>> rename to meta-oe/recipes-core/toybox/toybox_0.7.4.bb
>> index 0cd44ff64..76a7af459 100644
>> --- a/meta-oe/recipes-core/toybox/toybox_0.7.3.bb
>> +++ b/meta-oe/recipes-core/toybox/toybox_0.7.4.bb
>> @@ -2,12 +2,10 @@ 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 = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz \
>>  "
>> -
>> -SRC_URI[md5sum] = "6fa2a001402cb067ba541e0d8948da50"
>> -SRC_URI[sha256sum] = "e6469b508224e0d2e4564dda05c4bb47aef5c28bf29d6c983bcdc6e3a0cd29d6"
>> +SRC_URI[md5sum] = "55ea59a31c7da9510c8fabe70f4bc561"
>> +SRC_URI[sha256sum] = "49d74ca897501e5c981516719870fe08581726f5c018abe35ef52c6f0de113e7"
>>
>>  LICENSE = "BSD-0-Clause"
>>  LIC_FILES_CHKSUM = "file://LICENSE;md5=f0b8b3dd6431bcaa245da0a08bd0d511"
>> @@ -16,7 +14,7 @@ SECTION = "base"
>>
>>  TOYBOX_BIN = "generated/unstripped/toybox"
>>
>> -EXTRA_OEMAKE = 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
>> +EXTRA_OEMAKE = 'HOSTCC="${BUILD_CC}" CPUS=${@oe.utils.cpu_count()}'
>
> Is dropping ${BUILD_CFLAGS} and ${BUILD_LDFLAGS} from HOSTCC intentional?

yes it is intentional. This allows the native programs to build with dev files
from native system. Instead of creating a hybrid of OE's native
sysroot with build system provided one.

>
>>  do_configure() {
>>      oe_runmake defconfig
>> --
>> 2.14.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list