Return-path: Received: from server19320154104.serverpool.info ([193.201.54.104]:33763 "EHLO hauke-m.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753523Ab0IKQTF (ORCPT ); Sat, 11 Sep 2010 12:19:05 -0400 From: Hauke Mehrtens To: lrodriguez@atheros.com Cc: linux-wireless@vger.kernel.org, mcgrof@infradead.org, Hauke Mehrtens Subject: [PATCH 3/8] compat-wireless: fix for CONFIG_WIRELESS_EXT=n Date: Sat, 11 Sep 2010 18:18:28 +0200 Message-Id: <1284221913-22455-5-git-send-email-hauke@hauke-m.de> In-Reply-To: <1284221913-22455-1-git-send-email-hauke@hauke-m.de> References: <1284221913-22455-1-git-send-email-hauke@hauke-m.de> Sender: linux-wireless-owner@vger.kernel.org List-ID: Some modules need CONFIG_WIRELESS_EXT to be set. They should not be build if CONFIG_WIRELESS_EXT was not set. Signed-off-by: Hauke Mehrtens --- config.mk | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/config.mk b/config.mk index 458de29..1498573 100644 --- a/config.mk +++ b/config.mk @@ -248,11 +248,13 @@ CONFIG_B43LEGACY_LEDS=y CONFIG_B43LEGACY_DMA=y CONFIG_B43LEGACY_PIO=y +ifdef CONFIG_WIRELESS_EXT +ifdef CONFIG_WEXT_SPY +ifdef CONFIG_WEXT_PRIV # The Intel ipws CONFIG_LIBIPW=m # CONFIG_LIBIPW_DEBUG=y - CONFIG_IPW2100=m CONFIG_IPW2100_MONITOR=y # CONFIG_IPW2100_DEBUG=y @@ -274,6 +276,9 @@ CONFIG_IPW2200_QOS=y # it on via sysfs: # # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface +endif #CONFIG_WEXT_PRIV +endif #CONFIG_WEXT_SPY +endif #CONFIG_WIRELESS_EXT ifneq ($(CONFIG_SSB),) # Sonics Silicon Backplane @@ -331,6 +336,9 @@ else #CONFIG_COMPAT_KERNEL_27 CONFIG_ATL1C=m endif #CONFIG_COMPAT_KERNEL_27 +ifdef CONFIG_WIRELESS_EXT +ifdef CONFIG_WEXT_SPY +ifdef CONFIG_WEXT_PRIV CONFIG_HERMES=m CONFIG_HERMES_CACHE_FW_ON_INIT=y ifneq ($(CONFIG_PPC_PMAC),) @@ -344,6 +352,9 @@ ifneq ($(CONFIG_PCMCIA),) CONFIG_PCMCIA_HERMES=m CONFIG_PCMCIA_SPECTRUM=m endif +endif #CONFIG_WEXT_PRIV +endif #CONFIG_WEXT_SPY +endif #CONFIG_WIRELESS_EXT endif ## end of PCI @@ -490,6 +501,7 @@ CONFIG_BT_HCIBTSDIO=m CONFIG_BT_MRVL_SDIO=m ifneq ($(CONFIG_COMPAT_STAGING),) +ifdef CONFIG_WIRELESS_EXT CONFIG_ATH6KL_CFG80211=y CONFIG_ATH6KL_DEBUG=y # CONFIG_ATH6KL_DISABLE_TARGET_DBGLOGS is not set @@ -501,6 +513,7 @@ CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS=y # CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK is not set CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER=y CONFIG_ATH6K_LEGACY=m +endif #CONFIG_WIRELESS_EXT endif -- 1.7.0.4