summaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-24 14:04:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-24 14:04:43 +0100
commit573b06af740b3f1966aa2ea190494d9c87270786 (patch)
treed2f5dd29803ad5bbca171bfff9b1ece4ef3d5b3c /rules.mk
parent42ed8eb00eba8691994588b7fca5dbd04d92a59c (diff)
parent3953de124e87ce3b594fd861b6f111b2df706753 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/rules.mk b/rules.mk
index 12ba160f2..85d0b1bc0 100644
--- a/rules.mk
+++ b/rules.mk
@@ -36,6 +36,7 @@ ADK_RUNTIME_TMPFS_SIZE:= $(strip $(subst ",, $(ADK_RUNTIME_TMPFS_SIZE)))
ADK_RUNTIME_CONSOLE_SERIAL_SPEED:= $(strip $(subst ",, $(ADK_RUNTIME_CONSOLE_SERIAL_SPEED)))
ADK_HOST:= $(strip $(subst ",, $(ADK_HOST)))
ADK_VENDOR:= $(strip $(subst ",, $(ADK_VENDOR)))
+ADK_TOOLS_ADDPATTERN_ARGS:= $(strip $(subst ",, $(ADK_TOOLS_ADDPATTERN_ARGS)))
ifeq ($(strip ${ADK_HAVE_DOT_CONFIG}),y)
ifneq ($(strip $(wildcard $(TOPDIR)/target/$(ADK_TARGET_ARCH)/target.mk)),)
@@ -45,15 +46,14 @@ endif
include $(TOPDIR)/mk/vars.mk
-export BASH HOSTCC HOSTCXX MAKE LANGUAGE LC_ALL OStype PATH
+# needed?
+#export BASH MAKE LANGUAGE LC_ALL OStype PATH
-HOSTCFLAGS?= -O2
-HOSTCXXFLAGS?= -O2
-HOSTCPPFLAGS?=
-HOSTLDFLAGS?=
-TARGET_CFLAGS:= $(strip ${TARGET_CFLAGS} -fno-ident -fhonour-copts)
-TARGET_CC:= $(strip ${TARGET_CC})
-TARGET_CXX:= $(strip ${TARGET_CXX})
+CPPFLAGS_FOR_BUILD?=
+CFLAGS_FOR_BUILD?= -O2 -Wall
+CXXFLAGS_FOR_BUILD?= -O2 -Wall
+LDFLAGS_FOR_BUILD?=
+FLAGS_FOR_BUILD:= ${CPPFLAGS_FOR_BUILD} ${CFLAGS_FOR_BUILD} ${LDFLAGS_FOR_BUILD}
ifneq (${show},)
.DEFAULT_GOAL:= show