This commit is contained in:
Felix 2020-12-12 20:58:45 +01:00
commit 4261fa3d80
5 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,6 @@
chipset=ramips
subtarget=mt76x8
images=("openwrt-${chipset}-${subtarget}-tplink_c50-v3-squashfs-*"
"openwrt-${chipset}-${subtarget}-tplink_c50-v4-squashfs-*"
"openwrt-${chipset}-${subtarget}-tl-wr841n-v13-squashfs-*"
)

View File

@ -6,6 +6,8 @@ CONFIG_TARGET_ramips_mt76x8=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_DEVICE_ramips_mt76x8_DEVICE_tplink_c50-v3=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt76x8_DEVICE_tplink_c50-v3=""
CONFIG_TARGET_DEVICE_ramips_mt76x8_DEVICE_tplink_c50-v4=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt76x8_DEVICE_tplink_c50-v4=""
CONFIG_TARGET_DEVICE_ramips_mt76x8_DEVICE_tl-wr841n-v13=y
CONFIG_TARGET_DEVICE_PACKAGES_ramips_mt76x8_DEVICE_tl-wr841n-v13=""
CONFIG_BUSYBOX_CUSTOM=y

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fff-network
PKG_RELEASE:=24
PKG_RELEASE:=25
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

View File

@ -8,6 +8,7 @@ case "$BOARD" in
CPUPORT="5t"
;;
tplink,c50-v3|\
tplink,c50-v4|\
tplink,tl-wr1043nd-v2|\
tplink,tl-wr1043nd-v3|\
tl-wr841n-v13|\

View File

@ -0,0 +1,12 @@
. /lib/functions/fff/network
PORTORDER="0 1 2 3 4"
WANDEV=eth0
SWITCHDEV=eth0
CLIENT_PORTS="6t 3 4"
WAN_PORTS="6t 0"
BATMAN_PORTS="6t 1 2"
ROUTERMAC=$(cat /sys/class/net/eth0/address)
ETHMESHMAC=$(macFlipLocalBit "$(cat /sys/class/net/eth0/address)")