Browse Source

fix minimal style

Waldemar Brodkorb 14 years ago
parent
commit
d9ab4fecc4
1 changed files with 6 additions and 0 deletions
  1. 6 0
      mk/package.mk

+ 6 - 0
mk/package.mk

@@ -37,6 +37,10 @@ endif
 ifeq ($(ADK_DEBUG),)
 TCPPFLAGS+=		-DNDEBUG
 endif
+
+# does not change CONFIGURE_ARGS in minimal mode
+ifneq ($(filter minimal,${CONFIG_STYLE}),)
+
 ifneq ($(ADK_DEBUG),)
 CONFIGURE_ARGS+=	--enable-debug
 else
@@ -47,6 +51,8 @@ ifeq ($(ADK_ENABLE_IPV6),y)
 CONFIGURE_ARGS+=	--enable-ipv6
 endif
 
+endif
+
 CONFIGURE_ENV+=		CONFIG_SHELL='$(strip ${SHELL})' \
 			CFLAGS='$(strip ${TCFLAGS})' \
 			CXXFLAGS='$(strip ${TCXXFLAGS})' \