| Submitter | Phil Blundell |
|---|---|
| Date | July 28, 2011, 3:06 p.m. |
| Message ID | <1311865616.30326.450.camel@phil-desktop> |
| Download | mbox | patch |
| Permalink | /patch/8809/ |
| State | New, archived |
| Headers | show |
Comments
On 07/28/2011 08:06 AM, Phil Blundell wrote: > Otherwise the test in TUNE_CCARGS will never match. > > Signed-off-by: Phil Blundell<philb@gnu.org> > --- > meta/conf/machine/include/tune-cortexm1.inc | 2 +- > meta/conf/machine/include/tune-cortexm3.inc | 2 +- > meta/conf/machine/include/tune-cortexr4.inc | 3 +-- > 3 files changed, 3 insertions(+), 4 deletions(-) > > diff --git a/meta/conf/machine/include/tune-cortexm1.inc b/meta/conf/machine/include/tune-cortexm1.inc > index 493025d..3eecd5b 100644 > --- a/meta/conf/machine/include/tune-cortexm1.inc > +++ b/meta/conf/machine/include/tune-cortexm1.inc > @@ -6,6 +6,6 @@ TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations" > TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexm1", "-mtune=cortex-m1", "", d)}" > > AVAILTUNES += "cortexm1" > -TUNE_FEATURES_tune-cortexm1 = "${TUNE_FEATURES_tune-armv7a} coretexm1" > +TUNE_FEATURES_tune-cortexm1 = "${TUNE_FEATURES_tune-armv7a} cortexm1" > PACKAGE_EXTRA_ARCHS_tune-cortexm1 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" > > diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc > index f774fa6..85408eb 100644 > --- a/meta/conf/machine/include/tune-cortexm3.inc > +++ b/meta/conf/machine/include/tune-cortexm3.inc > @@ -10,6 +10,6 @@ TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" > TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7m", "-march=armv7-m", "", d)}" > > AVAILTUNES += "cortexm3" > -TUNE_FEATURES_tune-cortexm3 = "armv7m vfp coretexm3" > +TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" > PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m" > > diff --git a/meta/conf/machine/include/tune-cortexr4.inc b/meta/conf/machine/include/tune-cortexr4.inc > index 738f5af..8d2459f 100644 > --- a/meta/conf/machine/include/tune-cortexr4.inc > +++ b/meta/conf/machine/include/tune-cortexr4.inc > @@ -10,6 +10,5 @@ TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations" > TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7r", "-march=armv7-m", "", d)}" > > AVAILTUNES += "cortexr4" > -TUNE_FEATURES_tune-cortexr4 = "armv7r vfp coretexr4" > +TUNE_FEATURES_tune-cortexr4 = "armv7r vfp cortexr4" > PACKAGE_EXTRA_ARCHS_tune-cortexr4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7r" > - Merged into OE-Core Thanks Sau!
Patch
diff --git a/meta/conf/machine/include/tune-cortexm1.inc b/meta/conf/machine/include/tune-cortexm1.inc index 493025d..3eecd5b 100644 --- a/meta/conf/machine/include/tune-cortexm1.inc +++ b/meta/conf/machine/include/tune-cortexm1.inc @@ -6,6 +6,6 @@ TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexm1", "-mtune=cortex-m1", "", d)}" AVAILTUNES += "cortexm1" -TUNE_FEATURES_tune-cortexm1 = "${TUNE_FEATURES_tune-armv7a} coretexm1" +TUNE_FEATURES_tune-cortexm1 = "${TUNE_FEATURES_tune-armv7a} cortexm1" PACKAGE_EXTRA_ARCHS_tune-cortexm1 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}" diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc index f774fa6..85408eb 100644 --- a/meta/conf/machine/include/tune-cortexm3.inc +++ b/meta/conf/machine/include/tune-cortexm3.inc @@ -10,6 +10,6 @@ TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7m", "-march=armv7-m", "", d)}" AVAILTUNES += "cortexm3" -TUNE_FEATURES_tune-cortexm3 = "armv7m vfp coretexm3" +TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m" diff --git a/meta/conf/machine/include/tune-cortexr4.inc b/meta/conf/machine/include/tune-cortexr4.inc index 738f5af..8d2459f 100644 --- a/meta/conf/machine/include/tune-cortexr4.inc +++ b/meta/conf/machine/include/tune-cortexr4.inc @@ -10,6 +10,5 @@ TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7r", "-march=armv7-m", "", d)}" AVAILTUNES += "cortexr4" -TUNE_FEATURES_tune-cortexr4 = "armv7r vfp coretexr4" +TUNE_FEATURES_tune-cortexr4 = "armv7r vfp cortexr4" PACKAGE_EXTRA_ARCHS_tune-cortexr4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7r" -
Otherwise the test in TUNE_CCARGS will never match. Signed-off-by: Phil Blundell <philb@gnu.org> --- meta/conf/machine/include/tune-cortexm1.inc | 2 +- meta/conf/machine/include/tune-cortexm3.inc | 2 +- meta/conf/machine/include/tune-cortexr4.inc | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-)