ifndef is not supported inside make variable expansion
authorFelix Fietkau <nbd@openwrt.org>
Sat, 17 May 2008 20:13:29 +0000 (20:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 17 May 2008 20:13:29 +0000 (20:13 +0000)
SVN-Revision: 11165

package/madwifi/Makefile

index ef83702a8aee12c3fe5a92cbdda966d63d8a2e19..09995e0c41ac8f7a9395131daf99a3db22e9aab3 100644 (file)
@@ -205,7 +205,7 @@ MAKE_ARGS:= \
        LDOPTS="--no-warn-mismatch " \
        ATH_RATE="ath_rate/$(RATE_CONTROL)" \
        WARNINGS="-Wno-unused" \
-       $(ifndef CONFIG_MADWIFI_DEBUG,DEBUG="") \
+       $(if $(CONFIG_MADWIFI_DEBUG),,DEBUG="") \
        DOMULTI=1
 
 MAKE_VARS:= \