From: Adrian Schmutzler Date: Mon, 11 Nov 2019 11:36:21 +0000 (+0100) Subject: batman-adv: improve version string X-Git-Url: http://git.openwrt.org/?p=feed%2Frouting.git;a=commitdiff_plain;h=4b457916eaa4ab14f0f161ed92f1315753ab4e3e batman-adv: improve version string This changes the package version string so it does not start with "openwrt", but with the base version we are modifying: So far: openwrt-2019.4-1 Now: 2019.4-openwrt-1 Since it's us modifying version 2019.4 (in this case), this order is more convenient (and also closer to what the kernel version string does). Signed-off-by: Adrian Schmutzler --- diff --git a/batman-adv/Makefile b/batman-adv/Makefile index c59ebce..dfebb03 100644 --- a/batman-adv/Makefile +++ b/batman-adv/Makefile @@ -76,7 +76,7 @@ NOSTDINC_FLAGS = \ -I$(PKG_BUILD_DIR)/include/ \ -include backport/backport.h \ -include $(PKG_BUILD_DIR)/compat-hacks.h \ - -DBATADV_SOURCE_VERSION=\\\"openwrt-$(PKG_VERSION)-$(PKG_RELEASE)\\\" + -DBATADV_SOURCE_VERSION=\\\"$(PKG_VERSION)-openwrt-$(PKG_RELEASE)\\\" COMPAT_SOURCES = \ $(if $(CONFIG_BATMAN_ADV_MCAST),../../compat-sources/net/core/skbuff.o,) \