summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2018-10-07 11:10:05 +0200
committerSven Eckelmann <sven@narfation.org>2018-10-14 16:04:31 +0200
commit93cce266fe3fc402a3e7ef8eaa063465cfb0d9a7 (patch)
treec8764d09ef84cbbe852af16282966b3dba1358bc
parent1a83b56d4749a662cca5565a0203c7d9249f6938 (diff)
batctl: Add openwrt revision to internal version
OpenWrt is using a modified version of the software and these modifications may introduce extra bugs (or behavior changes). It is also patched for stable releases instead of switching to new releases. The revision should therefore be added to the version number to make it easier understandable which modified version the user may have installed. Signed-off-by: Sven Eckelmann <sven@narfation.org>
-rw-r--r--batctl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/batctl/Makefile b/batctl/Makefile
index ae878a6..66cb55d 100644
--- a/batctl/Makefile
+++ b/batctl/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=batctl
PKG_VERSION:=2018.1
-PKG_RELEASE:=0
+PKG_RELEASE:=1
PKG_HASH:=27877d0da6916f88a6cecbbb3f3d23cc4558ef7c7294324bf4fd050ed606b553
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -62,7 +62,8 @@ MAKE_BATCTL_ARGS += \
REVISION="$(PKG_BATCTL_SHORTREV)" \
CC="$(TARGET_CC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
- batctl install
+ batctl install \
+ REVISION="openwrt-$(PKG_VERSION)-$(PKG_RELEASE)"
define Build/Compile