treewide: use APK compatible version schema
[openwrt/staging/stintel.git] / package / base-files / Makefile
index 67fc5d29c1d764c47fdf6cc7420b5ae72935fa23..b1a834e1bf513055ada149c74e4eabe913a15358 100644 (file)
@@ -42,7 +42,7 @@ define Package/base-files
   DEPENDS:=+netifd +libc +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool
   TITLE:=Base filesystem for OpenWrt
   URL:=http://openwrt.org/
-  VERSION:=$(PKG_RELEASE)-$(REVISION)
+  VERSION:=$(PKG_RELEASE)~$(lastword $(subst -, ,$(REVISION)))
 endef
 
 define Package/base-files/conffiles