gcc: introduce BR2_GCC_NEEDS_MPC to reduce code duplication
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 23 Mar 2013 22:26:30 +0000 (22:26 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Mar 2013 12:40:07 +0000 (13:40 +0100)
commitd37d99b588f1a11f63140e4ba1baec194d4a0da7
treeb74509d5d97df7f20c0fcd411ff2ccd3090064ab
parentb8103112ea8d9d03647a60f45768494dc14eaa1b
gcc: introduce BR2_GCC_NEEDS_MPC to reduce code duplication

For each version of gcc, we need to check whether it requires mpc as a
dependency. Since this is true for 4.5, 4.6, 4.7, snapshots and now
4.8, let's factorize this code a bit by using a Kconfig symbol that
tells us whether we are using a gcc version that requires mpc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
toolchain/gcc/Config.in
toolchain/gcc/gcc-uclibc-4.x.mk