diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2015-04-02 14:42:52 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-10 15:41:55 +0200 |
commit | 5306a5450824691e27d68f711758515debedeeac (patch) | |
tree | c060c58cbc83f0101d4e8f21be5092106b6a495a /include/sound/max98090.h | |
parent | 48f8eaee3f59848809644507fc47363b37e54450 (diff) | |
download | linux-5306a5450824691e27d68f711758515debedeeac.tar.gz linux-5306a5450824691e27d68f711758515debedeeac.tar.bz2 linux-5306a5450824691e27d68f711758515debedeeac.zip |
MIPS: Makefile: Fix MIPS ASE detection code
Commit 32098ec7bcba ("MIPS: Makefile: Move the ASEs checks after
setting the core's CFLAGS") re-arranged the MIPS ASE detection code
and also added the current cflags to the detection logic. However,
this introduced a few bugs. First of all, the mips-cflags should not
be quoted since that ends up being passed as a string to subsequent
commands leading to broken detection from the cc-option-* tools.
Moreover, in order to avoid duplicating the cflags-y because of how
cc-option works, we rework the logic so we pass only those cflags which
are needed by the selected ASE. Finally, fix some typos resulting in MSA
not being detected correctly.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Fixes: Commit 32098ec7bcba ("MIPS: Makefile: Move the ASEs checks after setting the core's CFLAGS")
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9661/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/sound/max98090.h')
0 files changed, 0 insertions, 0 deletions