From 830cbab2bf7c28ce2de623fc06350a1030106200 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 2 Apr 2014 21:03:46 +0200 Subject: add optimization flags for microblaze --- mk/vars.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mk/vars.mk') 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 -- cgit v1.2.3 From c79407bcee5a5a9a1a718efb54e851e939e6f8d1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 3 Apr 2014 15:18:33 +0200 Subject: eanble option to debug optimized code --- mk/vars.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mk/vars.mk') diff --git a/mk/vars.mk b/mk/vars.mk index a26dc0734..136dc5f2f 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -124,7 +124,11 @@ TARGET_LDFLAGS+= -flto endif ifneq ($(ADK_DEBUG),) +ifeq ($(ADK_DEBUG_OPTS),y) +TARGET_CFLAGS+= -g3 -fno-omit-frame-pointer $(ADK_TARGET_CFLAGS_OPT) +else TARGET_CFLAGS+= -g3 -fno-omit-frame-pointer +endif else TARGET_CPPFLAGS+= -DNDEBUG TARGET_CFLAGS+= -fomit-frame-pointer $(ADK_TARGET_CFLAGS_OPT) -- cgit v1.2.3 From 8316d0355b3f3d3c2bcad9d3900feb2bec40da46 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Apr 2014 06:07:19 +0200 Subject: fix iso building --- mk/vars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk/vars.mk') diff --git a/mk/vars.mk b/mk/vars.mk index 3215ff1a5..e804ad5e6 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -54,7 +54,7 @@ SCRIPT_TARGET_DIR:= ${STAGING_TARGET_DIR}/scripts # PATH variables TARGET_PATH= ${SCRIPT_DIR}:${STAGING_TARGET_DIR}/scripts:${TOOLCHAIN_DIR}/usr/bin:${STAGING_HOST_DIR}/usr/bin:${_PATH} -HOST_PATH= ${SCRIPT_DIR}:${TOOLCHAIN_DIR}/bin:${STAGING_HOST_DIR}/usr/bin:${_PATH} +HOST_PATH= ${SCRIPT_DIR}:${TOOLCHAIN_DIR}/usr/bin:${STAGING_HOST_DIR}/usr/bin:${_PATH} AUTOTOOL_PATH= ${TOOLCHAIN_DIR}/usr/bin:${STAGING_HOST_DIR}/usr/bin:${STAGING_TARGET_DIR}/scripts:${_PATH} ifeq ($(ADK_DISABLE_HONOUR_CFLAGS),) -- cgit v1.2.3