summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-02 21:03:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-02 21:03:46 +0200
commit830cbab2bf7c28ce2de623fc06350a1030106200 (patch)
treee62223dbf5605f5f9855b3894f3515eb04cb6174 /mk
parent6ab3547c8e2c985cc66e48b13008530f90d4ce30 (diff)
add optimization flags for microblaze
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index a26dc0734..a13de04b8 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -123,6 +123,11 @@ TARGET_CXXFLAGS+= -flto
TARGET_LDFLAGS+= -flto
endif
+ifeq ($(ADK_LINUX_MICROBLAZE),y)
+TARGET_CFLAGS+= -mxl-barrel-shift
+TARGET_CXX_FLAGS+= -mxl-barrel-shift
+endif
+
ifneq ($(ADK_DEBUG),)
TARGET_CFLAGS+= -g3 -fno-omit-frame-pointer
else