diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-23 20:51:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-23 20:52:34 +0100 |
commit | a977d7f519de4a56904edee0c392d7a1b8648621 (patch) | |
tree | e6fd30cb3b0f9806cd919092a5719863406cd6a8 /rules.mk | |
parent | 1167c033d3448453015daef12e05c1466f11d8e7 (diff) |
rework gcc optimization flags
gcc uses for some architectures --with-cpu, with others
--with-arch. Add two different symbols for that.
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ ADK_TARGET_KERNEL:= $(strip $(subst ",, $(ADK_TARGET_KERNEL))) ADK_TARGET_LIBC:= $(strip $(subst ",, $(ADK_TARGET_LIBC))) ADK_TARGET_LIBC_PATH:= $(strip $(subst ",, $(ADK_TARGET_LIBC_PATH))) ADK_TARGET_ENDIAN:= $(strip $(subst ",, $(ADK_TARGET_ENDIAN))) -ADK_TARGET_CPU:= $(strip $(subst ",, $(ADK_TARGET_CPU))) +ADK_TARGET_GCC_CPU:= $(strip $(subst ",, $(ADK_TARGET_GCC_CPU))) +ADK_TARGET_GCC_ARCH:= $(strip $(subst ",, $(ADK_TARGET_GCC_ARCH))) ADK_TARGET_FLOAT:= $(strip $(subst ",, $(ADK_TARGET_FLOAT))) ADK_TARGET_FPU:= $(strip $(subst ",, $(ADK_TARGET_FPU))) ADK_TARGET_ARM_MODE:= $(strip $(subst ",, $(ADK_TARGET_ARM_MODE))) |