mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 02:21:19 +00:00
Automatically compute and substitute current values for all $(COMMITCOUNT) instances as this feature is deprecated and shouldn't be used. Based on commit0c10c224be: Change COMMITCOUNT in rules.mk to: ``` COMMITCOUNT = $(if $(DUMP),0,$(shell sed -i "s/\$$(COMMITCOUNT)/$(call commitcount)/" $(CURDIR)/Makefile)) ``` then update all affected packages by: ``` for i in $(git -C feeds/packages grep -l COMMITCOUNT | sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/clean done ``` Signed-off-by: Kuan-Yi Li <kyli@abysm.org> (cherry picked from commitba75322534)