diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2011-12-06 19:42:20 +0059 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2011-12-06 19:42:20 +0059 |
commit | e4841bdc58685ae0f9e2f7ba331d31896f40c4ee (patch) | |
tree | 509ad0d9307fab2cafbf4e73cff5402fa8381e00 | |
parent | 074b172d80e9b6f813fbac9b153cd6fea7f7942c (diff) |
origen: Use CPU specific optimizations only if the compiler supports them
The prebuilt compiler is too old to handle -mcpu=cortex-a9 - use it
only if we're using a compiler that can take it.
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | BoardConfig.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 25396a0..3011e0d 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -62,7 +62,7 @@ USE_OPENGL_RENDERER := true BOARD_KERNEL_CMDLINE := console=ttySAC2 root=/dev/mmcblk0p2 # Origen uses an Exynos4 -- Cortex A9 -TARGET_EXTRA_CFLAGS += -mtune=cortex-a9 -mcpu=cortex-a9 +TARGET_EXTRA_CFLAGS += $(call cc-option,-mtune=cortex-a9,$(call cc-option,-mtune=cortex-a8)) $(call cc-option,-mcpu=cortex-a9,$(call cc-option,-mcpu=cortex-a8)) # ARMs gator (DS-5) TARGET_USE_GATOR := true |