[package] kernel: fix kmod-crypto-misc on 2.4
[openwrt.git] / package / ifxmips-dsl-api / Makefile
index 992c241..fdb0721 100644 (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/ 
This page took 0.028416 seconds and 4 git commands to generate.