1 #############################################################
5 #############################################################
6 HOSTAP_SOURCE_URL
=http
://hostap.epitest.fi
/cgi-bin
/viewcvs.cgi
/hostap
/hostap.
tar.gz?tarball
=1
7 HOSTAP_SOURCE
=hostap.
tar.gz
8 HOSTAP_DIR
=$(BUILD_DIR
)/hostap-snapshot
10 $(DL_DIR
)/$(HOSTAP_SOURCE
):
11 $(WGET
) -P
$(DL_DIR
) $(HOSTAP_SOURCE_URL
) -O
$(DL_DIR
)/$(HOSTAP_SOURCE
)
13 hostap-source
: $(DL_DIR
)/$(HOSTAP_SOURCE
)
15 $(HOSTAP_DIR
)/.unpacked
: $(DL_DIR
)/$(HOSTAP_SOURCE
)
16 zcat
$(DL_DIR
)/$(HOSTAP_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
17 mv
-f
$(BUILD_DIR
)/hostap
$(HOSTAP_DIR
)
18 touch
$(HOSTAP_DIR
)/.unpacked
20 $(HOSTAP_DIR
)/.configured
: $(HOSTAP_DIR
)/.unpacked
21 #$(SED) "s,/.*#define PRISM2_DOWNLOAD_SUPPORT.*/,#define PRISM2_DOWNLOAD_SUPPORT,g" \
22 # $(HOSTAP_DIR)/driver/modules/hostap_config.h
23 touch
$(HOSTAP_DIR
)/.configured
25 $(HOSTAP_DIR
)/utils
/hostap_crypt_conf
: $(HOSTAP_DIR
)/.configured
26 $(MAKE
) -C
$(HOSTAP_DIR
)/utils CC
=$(TARGET_CC
) CFLAGS
="-Os -Wall $(TARGET_CFLAGS) -I../driver/modules"
27 $(MAKE
) -C
$(HOSTAP_DIR
)/hostapd CC
=$(TARGET_CC
) CFLAGS
="-Os -Wall $(TARGET_CFLAGS) -I../driver/modules -I../utils"
28 touch
-c
$(HOSTAP_DIR
)/driver
/modules
/hostap.o
30 $(TARGET_DIR
)//usr
/bin
/hostap_crypt_conf
: $(HOSTAP_DIR
)/utils
/hostap_crypt_conf
32 -rm -rf
$(HOSTAP_TARGET_MODULE_DIR
)
33 -mkdir
-p
$(HOSTAP_TARGET_MODULE_DIR
)
34 # Copy the pcmcia-cs conf file
35 -mkdir
-p
$(TARGET_DIR
)/etc
/pcmcia
36 cp
-af
$(HOSTAP_DIR
)/driver
/etc
/hostap_cs.conf
$(TARGET_DIR
)/etc
/pcmcia
/
38 cp
-af
$(HOSTAP_DIR
)/utils
/hostap_crypt_conf
$(TARGET_DIR
)/usr
/bin
/
39 cp
-af
$(HOSTAP_DIR
)/utils
/hostap_diag
$(TARGET_DIR
)/usr
/bin
/
40 cp
-af
$(HOSTAP_DIR
)/utils
/prism2_param
$(TARGET_DIR
)/usr
/bin
/
41 cp
-af
$(HOSTAP_DIR
)/utils
/prism2_srec
$(TARGET_DIR
)/usr
/bin
/
43 cp
-af
$(HOSTAP_DIR
)/hostapd
/hostapd
$(TARGET_DIR
)/usr
/sbin
/
45 hostap
: pcmcia
$(TARGET_DIR
)//usr
/bin
/hostap_crypt_conf
48 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(HOSTAP_DIR
) uninstall
49 -$(MAKE
) -C
$(HOSTAP_DIR
) clean
This page took 0.054584 seconds and 5 git commands to generate.