arch/x86: get rid of BR2_GCC_TARGET_TUNE
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 Oct 2014 20:27:11 +0000 (22:27 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 6 Nov 2014 23:09:21 +0000 (00:09 +0100)
commit6bec1d5191a2f017f1e7aa46286de50ba067b7de
treeca8ad0b481ded168438e587df54e7f333832493a
parentae2850b78c15c3c848bb01f723da439df8dfe68e
arch/x86: get rid of BR2_GCC_TARGET_TUNE

According to the gcc documentation, -march implies -mtune on x86, so
defining both BR2_GCC_TARGET_ARCH and BR2_GCC_TARGET_TUNE is
redundant. Therefore, this commit removes the definition of
BR2_GCC_TARGET_TUNE on x86.

However, while doing so, it adds one new case for BR2_GCC_TARGET_ARCH:
using -march=generic when BR2_x86_generic is selected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arch/Config.in.x86