summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-23 20:51:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-23 20:52:34 +0100
commita977d7f519de4a56904edee0c392d7a1b8648621 (patch)
treee6fd30cb3b0f9806cd919092a5719863406cd6a8 /rules.mk
parent1167c033d3448453015daef12e05c1466f11d8e7 (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.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index e4d530252..14935b928 100644
--- a/rules.mk
+++ b/rules.mk
@@ -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)))