From d1aed08111d9bfa20556716e2ff6c85f11b4fd0e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 5 May 2011 18:36:57 +0200 Subject: allow package based overwrite of DEBUG and STATIC builds --- rules.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rules.mk b/rules.mk index eeea20a0e..c0f81f438 100644 --- a/rules.mk +++ b/rules.mk @@ -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 -- cgit v1.2.3