From 8a2eb07cf18adfe6c3e361e801bedea6d673e72e Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Mon, 8 Jun 2015 22:42:38 +0200 Subject: arch: do not allow specifying both --with-arch and --with-cpu Normally, a specific CPU fully implies the architecture level. For example, a cortec-a8 is forcibly an armv7, so spwecifying both is redundant, and even dangerous (as incompatible values may be passed). So far, gcc was pretty happy when both were specified at the same time, and some time ago, it started being a warning, and only recently was it turned into a hard error. So, hide the architecture level prompt when a CPU has been specified. Signed-off-by: "Yann E. MORIN" diff --git a/config/target.in b/config/target.in index c655783..629fb80 100644 --- a/config/target.in +++ b/config/target.in @@ -196,6 +196,7 @@ config ARCH_ARCH string prompt "Architecture level" depends on ARCH_SUPPORTS_WITH_ARCH + depends on ARCH_CPU = "" default "" help GCC uses this name to determine what kind of instructions it can emit -- cgit v0.10.2-6-g49f6