summaryrefslogtreecommitdiffstats
path: root/make/hostap.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-20 07:02:31 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-20 07:02:31 +0000
commit7fcf2836bc6bb434207c66c8cd591febe5222e7c (patch)
treefc9e2a9156393882c92424b1d3871f174652a2db /make/hostap.mk
parent7be2f521764ae5a30c54f1db5d6cae6e9ab6faff (diff)
downloadbuildroot-novena-7fcf2836bc6bb434207c66c8cd591febe5222e7c.tar.gz
buildroot-novena-7fcf2836bc6bb434207c66c8cd591febe5222e7c.zip
Update from Michael Shuler
Diffstat (limited to 'make/hostap.mk')
-rw-r--r--make/hostap.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/make/hostap.mk b/make/hostap.mk
index bf2606c11..be01117ee 100644
--- a/make/hostap.mk
+++ b/make/hostap.mk
@@ -6,7 +6,7 @@
HOSTAP_SOURCE_URL=http://hostap.epitest.fi/cgi-bin/viewcvs.cgi/hostap/hostap.tar.gz?tarball=1
HOSTAP_SOURCE=hostap.tar.gz
HOSTAP_BUILD_DIR=$(BUILD_DIR)/hostap-snapshot
-HOSTAP_TARGET_MODULE_DIR=$(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/hostapd
+HOSTAP_TARGET_MODULE_DIR=$(TARGET_DIR)/lib/modules/$(LINUX_VERSION)/hostap
$(DL_DIR)/$(HOSTAP_SOURCE):
$(WGET) -P $(DL_DIR) $(HOSTAP_SOURCE_URL) -O $(DL_DIR)/$(HOSTAP_SOURCE)
@@ -25,13 +25,16 @@ $(HOSTAP_BUILD_DIR)/driver/modules/hostap.o: $(HOSTAP_BUILD_DIR)/.configured
$(MAKE) -C $(HOSTAP_BUILD_DIR) pccard KERNEL_PATH=$(BUILD_DIR)/linux CC=$(TARGET_CC)
$(MAKE) -C $(HOSTAP_BUILD_DIR)/utils CC=$(TARGET_CC)
$(MAKE) -C $(HOSTAP_BUILD_DIR)/hostapd CC=$(TARGET_CC)
+ touch -c $(HOSTAP_BUILD_DIR)/driver/modules/hostap.o
$(HOSTAP_TARGET_MODULE_DIR)/hostap.o: $(HOSTAP_BUILD_DIR)/driver/modules/hostap.o
# Make the dir
- rm -Rf $(HOSTAP_TARGET_MODULE_DIR)
- mkdir -p $(HOSTAP_TARGET_MODULE_DIR)
+ -rm -rf $(HOSTAP_TARGET_MODULE_DIR)
+ -mkdir -p $(HOSTAP_TARGET_MODULE_DIR)
# Copy The Module Files
cp -af $(HOSTAP_BUILD_DIR)/driver/modules/*.o $(HOSTAP_TARGET_MODULE_DIR)/
+ # Copy the pcmcia-cs conf file
+ -mkdir -p $(TARGET_DIR)/etc/pcmcia
cp -af $(HOSTAP_BUILD_DIR)/driver/etc/hostap_cs.conf $(TARGET_DIR)/etc/pcmcia/
# Copy The Utils
cp -af $(HOSTAP_BUILD_DIR)/utils/hostap_crypt_conf $(TARGET_DIR)/usr/bin/
@@ -40,6 +43,7 @@ $(HOSTAP_TARGET_MODULE_DIR)/hostap.o: $(HOSTAP_BUILD_DIR)/driver/modules/hostap.
cp -af $(HOSTAP_BUILD_DIR)/utils/prism2_srec $(TARGET_DIR)/usr/bin/
# Copy hostapd
cp -af $(HOSTAP_BUILD_DIR)/hostapd/hostapd $(TARGET_DIR)/usr/sbin/
+ touch -c $(HOSTAP_TARGET_MODULE_DIR)/hostap.o
hostap: $(HOSTAP_TARGET_MODULE_DIR)/hostap.o