armv4t.mk revision d53c81d7c590d777fd0fe768b136423da07b1ec3
1# Configuration for Linux on ARM.
2# Generating binaries for the ARMv4T architecture and higher
3#
4# Supporting armv4 (without thumb) does not make much sense since
5# it's mostly an obsoleted instruction set architecture (only available
6# in StrongArm and arm8). Supporting armv4 will require a lot of conditional
7# code in assembler source since the bx (branch and exchange) instruction is
8# not supported.
9#
10$(warning ARMv4t support is currently a work in progress. It does not work right now!)
11ARCH_ARM_HAVE_THUMB_SUPPORT := false
12ARCH_ARM_HAVE_THUMB_INTERWORKING := false
13ARCH_ARM_HAVE_64BIT_DATA := false
14ARCH_ARM_HAVE_HALFWORD_MULTIPLY := false
15ARCH_ARM_HAVE_CLZ := false
16ARCH_ARM_HAVE_FFS := false
17
18DEFAULT_TARGET_CPU := arm920t
19
20# Note: Hard coding the 'tune' value here is probably not ideal,
21# and a better solution should be found in the future.
22#
23arch_variant_cflags := -march=armv4t -mtune=arm920t -D__ARM_ARCH_4T__
24