diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-05-05 18:36:57 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-05-05 18:36:57 +0200 |
commit | d1aed08111d9bfa20556716e2ff6c85f11b4fd0e (patch) | |
tree | 95cb2b11b330f6f29397825c7f9f4d61a12e22f3 | |
parent | 74369dc68068f53cba7323bff3d250e1c2704725 (diff) |
allow package based overwrite of DEBUG and STATIC builds
-rw-r--r-- | rules.mk | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -48,10 +48,14 @@ include $(TOPDIR)/target/$(ADK_TARGET_ARCH)/target.mk endif endif -include $(TOPDIR)/mk/vars.mk +ifneq (${DEBUG},) +ADK_DEBUG:=y +endif +ifneq (${STATIC},) +ADK_STATIC:=y +endif -# needed? -#export BASH MAKE LANGUAGE LC_ALL OStype PATH +include $(TOPDIR)/mk/vars.mk CPPFLAGS_FOR_BUILD?= CFLAGS_FOR_BUILD?= -O2 -Wall |