| Submitter | Andreas Oberritter |
|---|---|
| Date | Feb. 2, 2012, 1 p.m. |
| Message ID | <4F2A88F2.60906@opendreambox.org> |
| Download | mbox | patch |
| Permalink | /patch/20559/ |
| State | Accepted |
| Commit | 26630a9f37b04e215eff9b8e63414b6b2066d6fa |
| Headers | show |
Comments
On 02/02/2012 05:00 AM, Andreas Oberritter wrote: > tune-mips32.inc only lists mips32 CPUs with hardware FPU. > Extend it to list CPUs without hardware FPU, too. > > Signed-off-by: Andreas Oberritter<obi@opendreambox.org> > --- > meta/conf/machine/include/tune-mips32.inc | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc > index 4a5f0fa..45d865e 100644 > --- a/meta/conf/machine/include/tune-mips32.inc > +++ b/meta/conf/machine/include/tune-mips32.inc > @@ -6,9 +6,13 @@ TUNEVALID[mips32] = "Enable mips32 specific processor optimizations" > TUNE_CONFLICTS[mips32] = "n64 n32" > TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "mips32", "-march=mips32", "", d)}" > > -AVAILTUNES += "mips32 mips32el" > +AVAILTUNES += "mips32 mips32el mips32-nf mips32el-nf" > TUNE_FEATURES_tune-mips32 = "${TUNE_FEATURES_tune-mips} mips32" > PACKAGE_EXTRA_ARCHS_tune-mips32 = "mips" > TUNE_FEATURES_tune-mips32el = "${TUNE_FEATURES_tune-mipsel} mips32" > PACKAGE_EXTRA_ARCHS_tune-mips32el = "mipsel" > +TUNE_FEATURES_tune-mips32-nf = "${TUNE_FEATURES_tune-mips-nf} mips32" > +PACKAGE_EXTRA_ARCHS_tune-mips32-nf = "mips-nf" > +TUNE_FEATURES_tune-mips32el-nf = "${TUNE_FEATURES_tune-mipsel-nf} mips32" > +PACKAGE_EXTRA_ARCHS_tune-mips32el-nf = "mipsel-nf" > Merged into OE-core Thanks Sau!
Patch
diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc index 4a5f0fa..45d865e 100644 --- a/meta/conf/machine/include/tune-mips32.inc +++ b/meta/conf/machine/include/tune-mips32.inc @@ -6,9 +6,13 @@ TUNEVALID[mips32] = "Enable mips32 specific processor optimizations" TUNE_CONFLICTS[mips32] = "n64 n32" TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "mips32", "-march=mips32", "", d)}" -AVAILTUNES += "mips32 mips32el" +AVAILTUNES += "mips32 mips32el mips32-nf mips32el-nf" TUNE_FEATURES_tune-mips32 = "${TUNE_FEATURES_tune-mips} mips32" PACKAGE_EXTRA_ARCHS_tune-mips32 = "mips" TUNE_FEATURES_tune-mips32el = "${TUNE_FEATURES_tune-mipsel} mips32" PACKAGE_EXTRA_ARCHS_tune-mips32el = "mipsel" +TUNE_FEATURES_tune-mips32-nf = "${TUNE_FEATURES_tune-mips-nf} mips32" +PACKAGE_EXTRA_ARCHS_tune-mips32-nf = "mips-nf" +TUNE_FEATURES_tune-mips32el-nf = "${TUNE_FEATURES_tune-mipsel-nf} mips32" +PACKAGE_EXTRA_ARCHS_tune-mips32el-nf = "mipsel-nf"
tune-mips32.inc only lists mips32 CPUs with hardware FPU. Extend it to list CPUs without hardware FPU, too. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> --- meta/conf/machine/include/tune-mips32.inc | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)