Skip to content

Commit

Permalink
ramips: fixes typo error in kang
Browse files Browse the repository at this point in the history
  • Loading branch information
aiamadeus committed Nov 11, 2022
1 parent b48712a commit fced2da
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 175 deletions.

This file was deleted.

149 changes: 0 additions & 149 deletions target/linux/ramips/dts/mt7621_jdcloud_luban.dts

This file was deleted.

10 changes: 0 additions & 10 deletions target/linux/ramips/image/mt7621.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1816,16 +1816,6 @@ define Device/xiaoyu_xy-c5
endef
TARGET_DEVICES += xiaoyu_xy-c5

define Device/jdcloud_luban
$(Device/dsa-migration)
$(Device/uimage-lzma-loader)
IMAGE_SIZE := 15808k
DEVICE_VENDOR := jdcloud
DEVICE_MODEL := Luban
DEVICE_PACKAGES += kmod-mt7915e wpad-openssl uboot-envtools
endef
TARGET_DEVICES += jdcloud_luban

define Device/xzwifi_creativebox-v1
$(Device/dsa-migration)
IMAGE_SIZE := 32448k
Expand Down
8 changes: 2 additions & 6 deletions target/linux/ramips/mt7621/base-files/etc/board.d/02_network
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ramips_setup_interfaces()
jcg,q20|\
lenovo,newifi-d1|\
mikrotik,routerboard-m33g|\
oraybox,x3a|\
xiaomi,mi-router-3g|\
xiaomi,mi-router-3g-v2|\
xiaomi,mi-router-4|\
Expand Down Expand Up @@ -109,10 +110,6 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
ucidef_set_interface "qtn" ifname "eth1" protocol "static" ipaddr "1.1.1.1" netmask "255.255.255.0"
;;
jdcloud,luban)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6u@eth0" "5u@eth1"
;;
*)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;;
Expand Down Expand Up @@ -204,8 +201,7 @@ ramips_setup_macs()
mikrotik,routerboard-750gr3|\
mikrotik,routerboard-760igs|\
mikrotik,routerboard-m11g|\
mikrotik,routerboard-m33g|\
oraybox,x3a)
mikrotik,routerboard-m33g)
label_mac=$(cat "/sys/firmware/mikrotik/hard_config/mac_base")
wan_mac=$label_mac
lan_mac=$(macaddr_add $label_mac 1)
Expand Down

0 comments on commit fced2da

Please sign in to comment.