On Wed, 2015-11-18 at 18:20 +0100, Martin Jansa wrote: > So to get rid of -march we'll have to either > > 1) check in arch-armv7a.inc if TUNE_FEATURES also contains some > TUNE_FEATURE which will append -mcpu > 2) don't include armv7a TUNE_FEATURE in TUNE_FEATURES_tune > -cortexa15t, > but the MACHINEOVERRIDES is still useful in many cases > 3) use TUNE_CCARGS_remove to remove -march when adding -mcpu > 4) rework whole tune files even more (probably by introducing another > variable which will hold just one of -march,-mcpu,-mtune and gets > appended to TUNE_CCARGS).
Or 5) just overwrite TUNE_CCARGS in tune-cortexa15.inc after including arch-armv7a.inc, rather than appending to it. But personally I would be inclined to do (2) and add the appropriate MACHINEOVERRIDES (which I think is just "armv7a" in practice) by steam in tune-cortexa15.inc. p. -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
