summaryrefslogtreecommitdiffstats
path: root/package/ifxmips-dsl-api/Makefile
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-18 13:02:29 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-18 13:02:29 +0000
commit1904ac098832d12ab50f968801bada360b5acdcf (patch)
treef69b1a6323778d0359c49c4a085821318aae1a3d /package/ifxmips-dsl-api/Makefile
parentb9806dcf4166089f995765f41c7771ac487d784e (diff)
[ifxmips-dsl-api] Add option to disable debug output of DSL drivers signed of by Ithamar R. Adema
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20270 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ifxmips-dsl-api/Makefile')
-rw-r--r--package/ifxmips-dsl-api/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/ifxmips-dsl-api/Makefile b/package/ifxmips-dsl-api/Makefile
index 992c241e1..fdb07214b 100644
--- a/package/ifxmips-dsl-api/Makefile
+++ b/package/ifxmips-dsl-api/Makefile
@@ -81,8 +81,6 @@ CONFIGURE_ARGS += --enable-kernel-include="$(LINUX_DIR)/include" \
--with-channels-per-line="$(IFX_DSL_CHANNELS_PER_LINE)" \
--enable-danube \
--enable-add-drv-cflags="-DMODULE" \
- --enable-debug=yes \
- --enable-debug-prints=yes \
--disable-dsl-delt-static \
--disable-adsl-led \
--enable-dsl-ceoc \
@@ -103,6 +101,13 @@ CONFIGURE_ARGS += --enable-kernel-include="$(LINUX_DIR)/include" \
EXTRA_CFLAGS = -fno-pic -mno-abicalls -mlong-calls -G 0
+ifeq ($(CONFIG_IFXMIPS_DSL_DEBUG),y)
+CONFIGURE_ARGS += \
+ --enable-debug=yes \
+ --enable-debug-prints=yes
+EXTRA_CFLAGS += -DDEBUG
+endif
+
define Build/Prepare
$(PKG_UNPACK)
$(INSTALL_DIR) $(PKG_BUILD_DIR)/src/mei/