Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=sqm-scripts
|
|
PKG_SOURCE_VERSION:=7ce734ea191240c85c86b83cbf18701655b0359c
|
|
PKG_VERSION:=1.5.2
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/tohojo/sqm-scripts
|
|
PKG_MIRROR_HASH:=62d9a655cd6a89665a7bc8473a771fd8203933989d2276f3d34ccbf6be21661f
|
|
|
|
PKG_MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/sqm-scripts
|
|
SECTION:=net
|
|
CATEGORY:=Base system
|
|
DEPENDS:=+tc +kmod-sched-cake +kmod-ifb +iptables +iptables-mod-ipopt
|
|
TITLE:=SQM Scripts (QoS)
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/sqm-scripts/description
|
|
A set of scripts that does simple SQM configuration.
|
|
endef
|
|
|
|
define Package/sqm-scripts/conffiles
|
|
/etc/config/sqm
|
|
/etc/sqm/sqm.conf
|
|
endef
|
|
|
|
define Package/sqm-scripts/install
|
|
make -C $(PKG_BUILD_DIR) DESTDIR=$(1) PLATFORM=openwrt install
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,sqm-scripts))
|