From: nbd Date: Sat, 17 May 2008 20:13:29 +0000 (+0000) Subject: ifndef is not supported inside make variable expansion X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=6152e5b5b30e959960c95897da04229c64b7a47e ifndef is not supported inside make variable expansion git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11165 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index ef83702a8..09995e0c4 100644 --- a/package/madwifi/Makefile +++ b/package/madwifi/Makefile @@ -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:= \