Archive config file for HC5861
This commit is contained in:
30
Makefile
30
Makefile
@@ -6,17 +6,27 @@ host_packages = build-essential git flex gettext libncurses5-dev unzip gawk libl
|
||||
openwrt_feeds = libevent2 luci luci-app-samba xl2tpd pptpd pdnsd ntfs-3g ethtool
|
||||
### mwan3 luci-app-mwan3
|
||||
|
||||
HC5761: .install_feeds
|
||||
CONFIG_FILENAME = config-hiwifi
|
||||
|
||||
define CheckConfigSymlink
|
||||
@if ! [ -e $(CONFIG_FILENAME) ]; then \
|
||||
echo "*** Please make a symbolic of either config file to '$(CONFIG_FILENAME)'."; \
|
||||
exit 1; \
|
||||
fi
|
||||
endef
|
||||
|
||||
HC5X61: .install_feeds
|
||||
@cd $(openwrt_dir); \
|
||||
if [ -e .config ]; then \
|
||||
mv -vf .config .config.bak; \
|
||||
echo "WARNING: .config is updated, backed up as '.config.bak'"; \
|
||||
fi; \
|
||||
cp -vf ../config-hiwifi-hc5761 .config; \
|
||||
[ -f ../.config.extra ] && cat ../.config.extra >> .config || :
|
||||
fi
|
||||
$(call CheckConfigSymlink)
|
||||
cp -vf $(CONFIG_FILENAME) $(openwrt_dir)/.config
|
||||
@[ -f .config.extra ] && cat .config.extra >> $(openwrt_dir)/.config || :
|
||||
make -C $(openwrt_dir) V=s -j4
|
||||
|
||||
recovery.bin: HC5761
|
||||
recovery.bin: HC5X61
|
||||
make -C recovery.bin
|
||||
|
||||
.install_feeds: .update_feeds
|
||||
@@ -32,7 +42,8 @@ recovery.bin: HC5761
|
||||
|
||||
.patched: .checkout_svn
|
||||
@cd $(openwrt_dir); cat ../patches/*.patch | patch -p0
|
||||
@cp -vf config-hiwifi-hc5761 $(openwrt_dir)/.config
|
||||
$(call CheckConfigSymlink)
|
||||
@cp -vf $(CONFIG_FILENAME) $(openwrt_dir)/.config
|
||||
@touch .patched
|
||||
|
||||
# 2. Checkout source code:
|
||||
@@ -57,10 +68,11 @@ recovery.bin: HC5761
|
||||
|
||||
menuconfig: .install_feeds
|
||||
@cd $(openwrt_dir); [ -f .config ] && mv -vf .config .config.bak || :
|
||||
@cp -vf config-hiwifi-hc5761 $(openwrt_dir)/.config
|
||||
@touch config-hiwifi-hc5761 # change modification time
|
||||
$(call CheckConfigSymlink)
|
||||
@cp -vf $(CONFIG_FILENAME) $(openwrt_dir)/.config
|
||||
@touch $(CONFIG_FILENAME) # change modification time
|
||||
@make -C $(openwrt_dir) menuconfig
|
||||
@[ $(openwrt_dir)/.config -nt config-hiwifi-hc5761 ] && cp -vf $(openwrt_dir)/.config config-hiwifi-hc5761 || :
|
||||
@[ $(openwrt_dir)/.config -nt $(CONFIG_FILENAME) ] && cp -vf $(openwrt_dir)/.config $(CONFIG_FILENAME) || :
|
||||
|
||||
clean:
|
||||
make clean -C recovery.bin
|
||||
|
||||
@@ -2273,12 +2273,12 @@ CONFIG_PACKAGE_6to4=y
|
||||
# CONFIG_PACKAGE_ahcpd is not set
|
||||
# CONFIG_PACKAGE_authsae is not set
|
||||
# CONFIG_PACKAGE_chat is not set
|
||||
# CONFIG_PACKAGE_dnspod-utils is not set
|
||||
CONFIG_PACKAGE_dnspod-utils=y
|
||||
# CONFIG_PACKAGE_ds-lite is not set
|
||||
# CONFIG_PACKAGE_eapol-test is not set
|
||||
# CONFIG_PACKAGE_etherwake is not set
|
||||
CONFIG_PACKAGE_ethtool=y
|
||||
# CONFIG_PACKAGE_file-storage is not set
|
||||
CONFIG_PACKAGE_file-storage=y
|
||||
# CONFIG_PACKAGE_gre is not set
|
||||
# CONFIG_PACKAGE_hostapd is not set
|
||||
CONFIG_PACKAGE_hostapd-common=y
|
||||
@@ -2303,6 +2303,7 @@ CONFIG_PACKAGE_ipset-lists=y
|
||||
# CONFIG_PACKAGE_iputils-tracepath6 is not set
|
||||
# CONFIG_PACKAGE_iputils-traceroute6 is not set
|
||||
CONFIG_PACKAGE_iw=y
|
||||
# CONFIG_PACKAGE_luci-mtk-wifi is not set
|
||||
# CONFIG_PACKAGE_mac-to-devinfo is not set
|
||||
# CONFIG_PACKAGE_map is not set
|
||||
# CONFIG_PACKAGE_mdns is not set
|
||||
|
||||
2530
config-hiwifi-hc5861
Normal file
2530
config-hiwifi-hc5861
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user