From 3fb6010dca4447576fa36f4b5f845af986d39364 Mon Sep 17 00:00:00 2001 From: Stany MARCEL Date: Tue, 1 Nov 2011 13:19:16 +0100 Subject: toolchain: Add the possibility to have a mcpu option with wrapper Permit to define the mcpu of the external toolchain wrapper, based on BR2_GCC_TARGET_CPU. Signed-off-by: Stany MARCEL Reviewed-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- toolchain/toolchain-external/ext-toolchain-wrapper.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'toolchain/toolchain-external/ext-toolchain-wrapper.c') diff --git a/toolchain/toolchain-external/ext-toolchain-wrapper.c b/toolchain/toolchain-external/ext-toolchain-wrapper.c index 3e2306161..cc404f3e9 100644 --- a/toolchain/toolchain-external/ext-toolchain-wrapper.c +++ b/toolchain/toolchain-external/ext-toolchain-wrapper.c @@ -28,6 +28,9 @@ static char *predef_args[] = { #ifdef BR_TUNE "-mtune=" BR_TUNE, #endif /* BR_TUNE */ +#ifdef BR_CPU + "-mcpu=" BR_CPU, +#endif #ifdef BR_ABI "-mabi=" BR_ABI, #endif -- cgit v1.2.3