From 3bbd74ee16f6d45e512167fa7e2ee1d20f9af31c Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 14 Mar 2000 02:40:30 +0000 Subject: [PATCH] Added support for building/installing separate modules for STA and AP functionality. --- Configure | 5 +++++ config.in | 2 +- etc/pcmcia/wlan-ng.conf | 8 ++++---- src/prism2/Makefile | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Configure b/Configure index 2a438e4..7a49080 100755 --- a/Configure +++ b/Configure @@ -267,6 +267,11 @@ ask_str "Install drivers as (sta or ap)" WLAN_INSTALL_TYPE WLAN_TARGET_ARCH=$BUILD_ARCH ask_str "Target Architecture?(only change if cross-compiling)" WLAN_TARGET_ARCH +#======================================================================= +# Make sure our target architecture is the same as our build architecture. + +ask_bool "Build for debugging (see doc/config.debug)" WLAN_DEBUG + #======================================================================= mv $CONFIG config.out diff --git a/config.in b/config.in index d52d94e..0e93613 100644 --- a/config.in +++ b/config.in @@ -9,4 +9,4 @@ PCMCIA_DIR=/etc/pcmcia SYSV_INIT=y INSTALL_DEPMOD=y WLAN_INSTALL_TYPE=sta -WLAN_TARGET_ARCH=y +WLAN_DEBUG=n diff --git a/etc/pcmcia/wlan-ng.conf b/etc/pcmcia/wlan-ng.conf index c0995c4..b99a0aa 100755 --- a/etc/pcmcia/wlan-ng.conf +++ b/etc/pcmcia/wlan-ng.conf @@ -1,12 +1,12 @@ -device "prism2sta_cs" - class "wlan-ng" module "prism2sta_cs" +device "prism2_cs" + class "wlan-ng" module "prism2_cs" card "Intersil Prism2 Ref. Card" manfid 0x0156, 0x0002 - bind "prism2sta_cs" + bind "prism2_cs" card "Compaq WL100 11Mb/s WLAN Card" manfid 0x0138, 0x0002 - bind "prism2sta_cs" + bind "prism2_cs" diff --git a/src/prism2/Makefile b/src/prism2/Makefile index 1eed984..c022133 100644 --- a/src/prism2/Makefile +++ b/src/prism2/Makefile @@ -43,7 +43,7 @@ include ../../config.mk -DIRS = sta_cs download ridlist +DIRS = driver download ridlist all: set -e; for d in $(DIRS); do $(MAKE) -C $$d ; done