diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-12-26 16:04:45 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-12-26 16:04:45 +0100 |
commit | da4852176bdec12cc8d40885feeb72c514eb51f1 (patch) | |
tree | cbe81b033d04037dea698f4a59bafde5dd3e6139 /mk/arm-arch.mk | |
parent | 86adad13d3574d4e059c960abb41c6987e455cdb (diff) | |
download | embtoolkit-da4852176bdec12cc8d40885feeb72c514eb51f1.tar.gz embtoolkit-da4852176bdec12cc8d40885feeb72c514eb51f1.tar.bz2 embtoolkit-da4852176bdec12cc8d40885feeb72c514eb51f1.tar.xz |
Toolchain/Build system: set -mcpu, -march and floating point switches in target cflags
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/arm-arch.mk')
-rw-r--r-- | mk/arm-arch.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/arm-arch.mk b/mk/arm-arch.mk index 55f6e05..c39e34b 100644 --- a/mk/arm-arch.mk +++ b/mk/arm-arch.mk @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009 Abdoulaye Walsimou GAYE. All rights reserved. +# Copyright(C) 2009-2010 Abdoulaye Walsimou GAYE. All rights reserved. # # This program is free software; you can distribute it and/or modify it # under the terms of the GNU General Public License @@ -25,7 +25,6 @@ LINUX_ARCH := arm GNU_TARGET_ARCH := arm EMBTK_MCU_FLAG := $(subst ",,$(strip $(CONFIG_EMBTK_ARM_MCU_STRING))) -TARGET_CFLAGS := ifeq ($(CONFIG_EMBTK_CLIB_EGLIBC),y) #EGLIBC C library @@ -71,3 +70,6 @@ else EMBTK_TARGET_FLOAT_CFLAGS := -mfloat-abi=hard endif +# Some other flags for TARGET_CFLAGS +EMBTK_TARGET_MCPU := -mcpu=$(EMBTK_MCU_FLAG) +EMBTK_TARGET_MARCH := |