mirror of https://github.com/OpenIPC/firmware.git
Add header for mt7601u-ap-openipc package
parent
e191cde751
commit
27d315a1ed
|
@ -0,0 +1,20 @@
|
|||
--- a/etc/Wireless/RT2870AP/RT2870AP.dat 2018-03-24 12:12:30.000000000 +0300
|
||||
+++ b/etc/Wireless/RT2870AP/RT2870AP.dat 2021-12-16 00:57:15.692019329 +0300
|
||||
@@ -4,7 +4,7 @@
|
||||
CountryRegionABand=7
|
||||
CountryCode=TW
|
||||
BssidNum=1
|
||||
-SSID=HD_MESH_1
|
||||
+SSID=OpenIPC
|
||||
WirelessMode=9
|
||||
TxRate=0
|
||||
Channel=11
|
||||
@@ -60,7 +60,7 @@
|
||||
RekeyInterval=0
|
||||
RekeyMethod=DISABLE
|
||||
PMKCachePeriod=10
|
||||
-WPAPSK=1234567890
|
||||
+WPAPSK=openipc2021
|
||||
DefaultKeyID=1
|
||||
Key1Type=0
|
||||
Key1Str=
|
|
@ -0,0 +1,10 @@
|
|||
config BR2_PACKAGE_MT7601U_AP_OPENIPC
|
||||
bool "mt7601u-ap-openipc"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
Wireless driver mt7601u with AP mode.
|
||||
|
||||
https://github.com/muratdemirtas/MT7601u
|
||||
|
||||
comment "MT7601U_AP_OPENIPC needs a Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
|
@ -0,0 +1,39 @@
|
|||
################################################################################
|
||||
#
|
||||
# mt7601u-ap-openipc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
|
||||
MT7601U_AP_OPENIPC_VERSION = fd4a47e55af879f8a1affb89cfc1e91b8aa45306
|
||||
MT7601U_AP_OPENIPC_SITE = $(call github,muratdemirtas,MT7601u,$(MT7601U_AP_OPENIPC_VERSION))
|
||||
|
||||
# MT7601U_AP_OPENIPC_VERSION = 188146b4147e1d86c916ffc33451bafda211cebb
|
||||
# MT7601U_AP_OPENIPC_SITE = $(call github,terence-deng,mt7601u,$(MT7601U_AP_OPENIPC_VERSION))
|
||||
|
||||
# MT7601U_AP_OPENIPC_VERSION = cb1b0f3324b6dbf8f6a10276f5cb12382dc098e8
|
||||
# MT7601U_AP_OPENIPC_SITE = $(call github,eywalink,mt7601u,$(MT7601U_AP_OPENIPC_VERSION))
|
||||
|
||||
# MT7601U_AP_OPENIPC_VERSION = f43c4893264f11065534e26d20d62d956e93c115
|
||||
# MT7601U_AP_OPENIPC_SITE = $(call github,THLIVSQAZ,MT7601U,$(MT7601U_AP_OPENIPC_VERSION))
|
||||
|
||||
# MT7601U_AP_OPENIPC_VERSION = 4b57b1d6075634966eb55324ed53aa2b1c4f4912
|
||||
# MT7601U_AP_OPENIPC_SITE = $(call github,PolyVection,mt7601u-ap,$(MT7601U_AP_OPENIPC_VERSION))
|
||||
|
||||
# MT7601U_AP_OPENIPC_VERSION = 624307427149e53b75937ccbe7cb235ec3ef2f58
|
||||
# MT7601U_AP_OPENIPC_SITE = $(call github,Anthony96922,mt7601u-ap,$(MT7601U_AP_OPENIPC_VERSION))
|
||||
|
||||
MT7601U_AP_OPENIPC_LICENSE = GPL-2.0
|
||||
|
||||
MT7601U_AP_OPENIPC_MODULE_MAKE_OPTS = \
|
||||
KVER=$(LINUX_VERSION_PROBED) \
|
||||
KSRC=$(LINUX_DIR)
|
||||
|
||||
define MT7601U_AP_OPENIPC_INSTALL_FIRMWARE
|
||||
$(INSTALL) -D -m 644 $(@D)/etc/Wireless/RT2870AP/RT2870AP.dat \
|
||||
$(TARGET_DIR)/etc/Wireless/RT2870AP/RT2870AP.dat
|
||||
endef
|
||||
MT7601U_AP_OPENIPC_POST_INSTALL_TARGET_HOOKS += MT7601U_AP_OPENIPC_INSTALL_FIRMWARE
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
Loading…
Reference in New Issue