Add option to disable debug output of DSL drivers signed of by Ithamar R. Adema

SVN-Revision: 20270
This commit is contained in:
John Crispin
2010-03-18 13:02:29 +00:00
parent d47b3b56e6
commit 4fcee4628c
3 changed files with 299 additions and 2 deletions

View File

@@ -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/