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>
39 lines
958 B
Makefile
39 lines
958 B
Makefile
# 2017 - 2021 Cezary Jackiewicz <cezary@eko.one.pl>
|
|
# 2014 lovewilliam <ztong@vt.edu>
|
|
# sms tool for various of 3g/4g modem
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=sms-tool
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_URL:=https://github.com/obsy/sms_tool
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_DATE:=2022-03-21
|
|
PKG_SOURCE_VERSION:=f07699ab5189656f595ffa75872c8938bf4b40ac
|
|
PKG_MIRROR_HASH:=0d114a97eb7aeadd95b49281d29371ba0570382125c34f3f8668d34fd0290f46
|
|
|
|
PKG_MAINTAINER:=Andrey Butirsky <butirsky@gmail.com>
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_LICENSE_FILES:=LICENSE-2.0.txt
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/sms-tool
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=SMS tool for 3G/4G modems
|
|
URL:=https://github.com/obsy/sms_tool
|
|
endef
|
|
|
|
define Package/sms-tool/description
|
|
SMS Tool for 3G/4G modem
|
|
endef
|
|
|
|
define Package/sms-tool/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sms_tool $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,sms-tool))
|