Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branch : master
commit f02107671f6b456c4a6df5dc4775ce49dd999282 Author: Marek Lindner mareklindner@neomailbox.ch Date: Mon May 9 19:58:18 2016 +0800
batman-adv-devel: re-introduce passing of git revision as batman version
Signed-off-by: Marek Lindner mareklindner@neomailbox.ch
f02107671f6b456c4a6df5dc4775ce49dd999282 batman-adv-devel/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/batman-adv-devel/Makefile b/batman-adv-devel/Makefile index 404b509..7a2dcb2 100644 --- a/batman-adv-devel/Makefile +++ b/batman-adv-devel/Makefile @@ -68,7 +68,8 @@ NOSTDINC_FLAGS = \ -I$(STAGING_DIR)/usr/include/mac80211/uapi \ -I$(STAGING_DIR)/usr/include/mac80211 \ -include backport/backport.h \ - -include $(PKG_BUILD_DIR)/compat-hacks.h + -include $(PKG_BUILD_DIR)/compat-hacks.h \ + -DBATADV_SOURCE_VERSION=\"$(PKG_BATMAN_SHORTREV)\" \
define Build/Compile +$(MAKE) $(PKG_JOBS) -C "$(LINUX_DIR)" \