summaryrefslogtreecommitdiff
path: root/config/target.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-06-10 18:52:15 (GMT)
committerYann E. MORIN <yann.morin.1998@free.fr>2015-06-10 18:56:12 (GMT)
commit11acb6da21649b3b04412138f7b2d4b78a95c18e (patch)
treed2db23fdfaed100227487e903943f3c5fceaadae /config/target.in
parent8534a138ef56fb427afa262c3139d7821df7045f (diff)
arch: do not allow specifying both --with-cpu and --with-tune
Similarly to what we've just done to prevent both --with-arch and --with-cpu, we do the same to prevent using both --with-cpu and --with-tune at the same time, since --with-cpu should fully imply the CPU to tune for (and gcc now errors out when both are specified. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'config/target.in')
-rw-r--r--config/target.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in
index 629fb80..fb5bbc0 100644
--- a/config/target.in
+++ b/config/target.in
@@ -253,6 +253,7 @@ config ARCH_TUNE
string
prompt "Tune for CPU"
depends on ARCH_SUPPORTS_WITH_TUNE
+ depends on ARCH_CPU = ""
default ""
help
This option is very similar to the ARCH_CPU option (above), except