Message ID | 20170922032316.18616-4-raj.khem@gmail.com |
---|---|
State | Accepted |
Commit | 6d231956fbfb0d85aa5dc72a52b086699befd210 |
Headers | show |
Series | [oe,meta-networking,1/7] yp-tools: Ignore cpp warnings as errors | expand |
On Thu, Sep 21, 2017 at 8:23 PM, Khem Raj <raj.khem@gmail.com> wrote: > enable parallel build > > Signed-off-by: Khem Raj <raj.khem@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? > do_configure() { > oe_runmake defconfig > -- > 2.14.1 > > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
On Fri, Sep 22, 2017 at 10:43 AM, Andre McCurdy <armccurdy@gmail.com> wrote: > On Thu, Sep 21, 2017 at 8:23 PM, Khem Raj <raj.khem@gmail.com> wrote: >> enable parallel build >> >> Signed-off-by: Khem Raj <raj.khem@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@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
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()}' do_configure() { oe_runmake defconfig
enable parallel build Signed-off-by: Khem Raj <raj.khem@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%) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel