summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-14 21:03:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-14 21:03:39 +0200
commit8f14c0a6a92932e0cf7459e9243afbebfef78ac2 (patch)
tree35b286c30f8406dc378943e15d80dce621652c7c /mk
parent1a4ca0013db4236f3e0ff8746a1787dbe560b970 (diff)
parent7c7cd30c44da0ca33ac86eeed01d7e9522b0c93a (diff)
Merge branch 'master' of git+ssh://www.openadk.org/git/openadk
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 2f2ecc134..3ae3f1d67 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -138,7 +138,7 @@ 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
+TARGET_CFLAGS+= -O0 -g3 -fno-omit-frame-pointer
endif
else
TARGET_CPPFLAGS+= -DNDEBUG
@@ -168,7 +168,7 @@ CXXFLAGS_FOR_BUILD?= -O2 -Wall
LDFLAGS_FOR_BUILD?= -L$(STAGING_HOST_DIR)/usr/lib
FLAGS_FOR_BUILD= ${CPPFLAGS_FOR_BUILD} ${CFLAGS_FOR_BUILD} ${LDFLAGS_FOR_BUILD}
-PATCH= ${BASH} $(SCRIPT_DIR)/patch.sh
+PATCH= PATH=${HOST_PATH} ${BASH} $(SCRIPT_DIR)/patch.sh
SED:= PATH=${HOST_PATH} sed -i -e
LINUX_DIR:= $(BUILD_DIR)/linux
KERNEL_MODULE_FLAGS:= ARCH=${ARCH} \