From 66d41890ec2b76189bcd427a0cc3966ff56f9712 Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Fri, 3 May 2013 00:39:36 +0000 Subject: arch: toolchain: Introduce target CPU revision. Adds the possibility to have a free-form CPU revision string and append it to the target CPU. Only Blackfin actually uses this option. Signed-off-by: Sonic Zhang Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- arch/Config.in | 3 +++ arch/Config.in.bfin | 8 ++++++++ 2 files changed, 11 insertions(+) (limited to 'arch') diff --git a/arch/Config.in b/arch/Config.in index e32cfd914..fa9dad343 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -189,6 +189,9 @@ config BR2_GCC_TARGET_ABI config BR2_GCC_TARGET_CPU string +config BR2_GCC_TARGET_CPU_REVISION + string + # Set up target binary format choice prompt "Target Binary Format" diff --git a/arch/Config.in.bfin b/arch/Config.in.bfin index ac9662041..f755c8db0 100644 --- a/arch/Config.in.bfin +++ b/arch/Config.in.bfin @@ -97,3 +97,11 @@ config BR2_GCC_TARGET_CPU default bf548 if BR2_bf548 default bf549 if BR2_bf549 default bf561 if BR2_bf561 + +config BR2_GCC_TARGET_CPU_REVISION + string "Target CPU revision" + help + Specify a target CPU revision, which will be appended to the + value of the -mcpu option. For example, if the selected CPU is + bf609, and then selected CPU revision is "0.0", then gcc will + receive the -mcpu=bf609-0.0 option. -- cgit v1.2.3