diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 07:33:02 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-07-24 07:33:02 -0400 |
commit | 16c79651a5ee1ad7e4fca65a7c5309dfca89ed28 (patch) | |
tree | d34470a098ee2d2aa6af7e111547f9c6599395b5 /arch/arm/Kconfig | |
parent | e2ed3be7319f2734fcd9c7638888501934c22751 (diff) |
Thumb-2: Add Thumb-2 support to the build files
This patch adds the necessary entries to the Makefile and Kconfig
files for building the Thumb-2 kernel.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index da28e7ba6083..a36b5a8b123e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -983,6 +983,18 @@ config HZ | |||
983 | default AT91_TIMER_HZ if ARCH_AT91 | 983 | default AT91_TIMER_HZ if ARCH_AT91 |
984 | default 100 | 984 | default 100 |
985 | 985 | ||
986 | config THUMB2_KERNEL | ||
987 | bool "Compile the kernel in Thumb-2 mode" | ||
988 | depends on CPU_V7 && EXPERIMENTAL | ||
989 | select AEABI | ||
990 | select ARM_ASM_UNIFIED | ||
991 | help | ||
992 | By enabling this option, the kernel will be compiled in | ||
993 | Thumb-2 mode. A compiler/assembler that understand the unified | ||
994 | ARM-Thumb syntax is needed. | ||
995 | |||
996 | If unsure, say N. | ||
997 | |||
986 | config ARM_ASM_UNIFIED | 998 | config ARM_ASM_UNIFIED |
987 | bool | 999 | bool |
988 | 1000 | ||