diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2011-12-06 19:45:27 +0059 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2011-12-06 19:45:27 +0059 |
commit | 672c590125547e9f884f5f877bdeaa55de0243f3 (patch) | |
tree | 9709debf62cef5c30a18210df2927b6417b69c4d | |
parent | f3473e823a4db571627b3191ada19d2f16abcb97 (diff) | |
download | pandaboard-672c590125547e9f884f5f877bdeaa55de0243f3.tar.gz |
panda: 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>
Change-Id: If61d6dc0322c1e4dc7bdb5da04c9fa2fa179f8ad
-rw-r--r-- | BoardConfig.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index a678db4..17bf3c3 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -63,7 +63,7 @@ BOARD_EGL_CFG := device/ti/panda/egl.cfg USE_OPENGL_RENDERER := true # PandaBoard uses an OMAP4 -- 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 |