On Wed, Sep 23, 2020 at 6:31 PM Jonathan Richardson via lists.openembedded.org <[email protected]> wrote: > > Add tuning or ARM cortex-m0. > > Signed-off-by: Jonathan Richardson <[email protected]>
Looks like what I have queued for m0. So, one less for me to send out :) Reviewed-off-by: Jon Mason <[email protected]> > --- > meta/conf/machine/include/tune-cortex-m0.inc | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 meta/conf/machine/include/tune-cortex-m0.inc > > diff --git a/meta/conf/machine/include/tune-cortex-m0.inc > b/meta/conf/machine/include/tune-cortex-m0.inc > new file mode 100644 > index 0000000000..a59c8af941 > --- /dev/null > +++ b/meta/conf/machine/include/tune-cortex-m0.inc > @@ -0,0 +1,11 @@ > +DEFAULTTUNE ?= "cortexm0" > +require conf/machine/include/arm/arch-armv6m.inc > + > +TUNEVALID[cortexm0] = "Enable Cortex-M0 specific processor optimizations" > +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0', ' > -mcpu=cortex-m0', '', d)}" > +AVAILTUNES += "cortexm0" > + > +ARMPKGARCH_tune-cortexm0 = "cortexm0" > +TUNE_FEATURES_tune-cortexm0 = "${TUNE_FEATURES_tune-armv6m} cortexm0" > + If I were going to be nitty, I would say to remove this line :) Thanks, Jon > +PACKAGE_EXTRA_ARCHS_tune-cortexm0 = "${PACKAGE_EXTRA_ARCHS_tune-armv6m} > cortexm0" > -- > 2.20.1 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#142794): https://lists.openembedded.org/g/openembedded-core/message/142794 Mute This Topic: https://lists.openembedded.org/mt/77046167/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
