M7350v2_en_gpl
This commit is contained in:
30
external/hostap/hostapd/Makefile
vendored
Normal file → Executable file
30
external/hostap/hostapd/Makefile
vendored
Normal file → Executable file
@ -862,14 +862,42 @@ verify_config:
|
||||
fi
|
||||
|
||||
install: all
|
||||
ifndef CONFIG_TP_WLAN_MODULE_BCM
|
||||
mkdir -p $(DESTDIR)/usr/bin
|
||||
for i in $(ALL); do cp -f $$i $(DESTDIR)/usr/bin/$$i; done
|
||||
endif
|
||||
|
||||
mkdir -p $(DESTDIR)/etc
|
||||
ifdef CONFIG_DRIVER_AR6000
|
||||
install -m 0644 config/ar6k-ap-all.conf $(DESTDIR)/etc/AR6003_hostapd.conf
|
||||
install -m 0644 config/ar6k-ap1-all.conf $(DESTDIR)/etc/AR6003_AP1_hostapd.conf
|
||||
endif
|
||||
|
||||
ifdef CONFIG_TP_WLAN_MODULE_BCM
|
||||
|
||||
ifdef CONFIG_WIRELESS_ACL_TYPE_BLACK
|
||||
#[liyuan start] M7350 series enable acl deny list in default
|
||||
install -m 0644 -d $(DESTDIR)/etc/config
|
||||
install -m 0644 config/tp-bcm-ap-all-7350-series.conf $(DESTDIR)/etc/AR6004_hostapd.conf
|
||||
install -m 0644 config/tp-bcm-ap-all-7350-series.deny $(DESTDIR)/etc/config/hostapd.deny
|
||||
ln -s /etc/AR6004_hostapd.conf $(DESTDIR)/etc/hostapd.conf
|
||||
|
||||
install -m 0644 -d $(DESTDIR)/etc/default_config
|
||||
install -m 0644 config/tp-bcm-ap-all-7350-series.conf $(DESTDIR)/etc/default_config/AR6004_hostapd.conf
|
||||
install -m 0644 config/tp-bcm-ap-all-7350-series.deny $(DESTDIR)/etc/default_config/hostapd.deny
|
||||
#[liyuan end]
|
||||
else
|
||||
#[lixiangkui start] install wifi default config
|
||||
install -m 0644 config/tp-bcm-ap-all.conf $(DESTDIR)/etc/AR6004_hostapd.conf
|
||||
ln -s /etc/AR6004_hostapd.conf $(DESTDIR)/etc/hostapd.conf
|
||||
|
||||
install -m 0644 -d $(DESTDIR)/etc/default_config
|
||||
install -m 0644 config/tp-bcm-ap-all.conf $(DESTDIR)/etc/default_config/AR6004_hostapd.conf
|
||||
#[lixiangkui end]
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
ifdef CONFIG_DRIVER_NL80211
|
||||
ifdef CONFIG_WIRELESS_ACL_TYPE_BLACK
|
||||
#[liyuan start] M7350 series enable acl deny list in default
|
||||
@ -896,6 +924,8 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
../src/drivers/build.hostapd:
|
||||
@if [ -f ../src/drivers/build.wpa_supplicant ]; then \
|
||||
$(MAKE) -C ../src/wps clean; \
|
||||
|
Reference in New Issue
Block a user