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
commit1a83b56d4749a662cca5565a0203c7d9249f6938 (patch)
tree5be8d75ef39fce36d52f48c9be68b2a48febc265
parent1ba424a4d040210fdded11a7d6848f9b82857918 (diff)
batman-adv: 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--batman-adv/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/batman-adv/Makefile b/batman-adv/Makefile
index 97f8cb1..69e800a 100644
--- a/batman-adv/Makefile
+++ b/batman-adv/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=batman-adv
PKG_VERSION:=2018.1
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_HASH:=b866b28dbbe5c9238abbdf5abbc30fc526dea56898ce4c1bd76d5c017843048b
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -69,7 +69,8 @@ NOSTDINC_FLAGS = \
-I$(STAGING_DIR)/usr/include/mac80211/uapi \
-I$(PKG_BUILD_DIR)/include/ \
-include backport/backport.h \
- -include $(PKG_BUILD_DIR)/compat-hacks.h
+ -include $(PKG_BUILD_DIR)/compat-hacks.h \
+ -DBATADV_SOURCE_VERSION=\\\"openwrt-$(PKG_VERSION)-$(PKG_RELEASE)\\\"
COMPAT_SOURCES = \
$(if $(CONFIG_KMOD_BATMAN_ADV_MCAST),../../compat-sources/net/core/skbuff.o,) \