Skip to content

Commit 6b6206e

Browse files
committed
Merge remote-tracking branch 'other/main'
2 parents 32b1be3 + 130306f commit 6b6206e

30 files changed

Lines changed: 643 additions & 35 deletions

package/boot/uboot-bcm53xx/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
22

33
PKG_VERSION:=2024.01
44
PKG_HASH:=b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3
5-
PKG_RELEASE:=$(AUTORELEASE)
5+
PKG_RELEASE:=2
66

77
include $(INCLUDE_DIR)/u-boot.mk
88
include $(INCLUDE_DIR)/package.mk

package/boot/uboot-bmips/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
22

33
PKG_VERSION:=2024.04
44
PKG_HASH:=18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a
5-
PKG_RELEASE:=$(AUTORELEASE)
5+
PKG_RELEASE:=1
66

77
include $(INCLUDE_DIR)/u-boot.mk
88
include $(INCLUDE_DIR)/package.mk

package/network/services/unetmsg/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=unetmsg
11-
PKG_RELEASE:=$(AUTORELEASE)
11+
PKG_RELEASE:=14
1212

1313
PKG_LICENSE:=GPL-2.0
1414
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>

package/utils/cli/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=cli
11-
PKG_RELEASE:=$(AUTORELEASE)
11+
PKG_RELEASE:=14
1212

1313
PKG_LICENSE:=GPL-2.0
1414
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>

package/utils/provision/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=provision
11-
PKG_RELEASE:=$(AUTORELEASE)
11+
PKG_RELEASE:=1
1212

1313
PKG_LICENSE:=GPL-2.0
1414
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>

package/utils/ucode-mod-uline/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=ucode-mod-uline
4-
PKG_RELEASE:=$(AUTORELEASE)
4+
PKG_RELEASE:=8
55
PKG_LICENSE:=GPL-2.0-or-later
66
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
77

rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ define commitcount
515515
$(shell \
516516
if git log -1 --no-show-signature >/dev/null 2>/dev/null; then \
517517
if [ -n "$(1)" ]; then \
518+
$(call ERROR_MESSAGE,DEPRECATION NOTICE: The use of AUTORELEASE has been deprecated. Fix your Makefile.); \
518519
last_bump="$$(git log --no-show-signature --pretty=format:'%h %s' . | \
519520
grep -m 1 -e ': [uU]pdate to ' -e ': [bB]ump to ' | \
520521
cut -f 1 -d ' ')"; \
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#
2+
# Copyright (C) 2015 OpenWrt.org
3+
#
4+
5+
. /lib/functions/uci-defaults.sh
6+
7+
board_config_update
8+
9+
board=$(board_name)
10+
11+
case "$board" in
12+
airoha,an7581-evb)
13+
ucidef_set_led_usbport "usb1" "USB 1" "green:usb-1" "usb1-port1" "usb2-port1"
14+
ucidef_set_led_usbport "usb2" "USB 2" "green:usb-2" "usb3-port1" "usb4-port1"
15+
;;
16+
esac
17+
18+
board_config_flush
19+
20+
exit 0
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#
2+
# Copyright (c) 2015 The Linux Foundation. All rights reserved.
3+
# Copyright (c) 2011-2015 OpenWrt.org
4+
#
5+
6+
. /lib/functions/uci-defaults.sh
7+
. /lib/functions/system.sh
8+
9+
an7581_setup_interfaces()
10+
{
11+
local board="$1"
12+
13+
case "$board" in
14+
airoha,an7581-evb)
15+
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth1"
16+
;;
17+
*)
18+
echo "Unsupported hardware. Network interfaces not initialized"
19+
;;
20+
esac
21+
}
22+
23+
board_config_update
24+
board=$(board_name)
25+
an7581_setup_interfaces $board
26+
board_config_flush
27+
28+
exit 0
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
set_netdev_labels() {
2+
local dir
3+
local label
4+
local netdev
5+
6+
for dir in /sys/class/net/*; do
7+
[ -r "$dir/of_node/openwrt,netdev-name" ] || continue
8+
read -r label < "$dir/of_node/openwrt,netdev-name"
9+
netdev="${dir##*/}"
10+
[ "$netdev" = "$label" ] && continue
11+
ip link set "$netdev" name "$label"
12+
done
13+
}
14+
15+
boot_hook_add preinit_main set_netdev_labels

0 commit comments

Comments
 (0)