forked from freifunk-franken/firmware
Adrian Schmutzler
66dce0cf3a
Bump core, packages and routing. Refresh patches, remove upstreamed ones. The patch "Add batman-adv patch to remove gw mode switch message" is removed since batman-adv dropped the sysfs entirely. There was no obvious replacement for the debug output, so this is dropped until the problem is found again with a different source (which may never happen). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Fabian Bläse <fabian@blaese.de>
28 lines
910 B
Diff
28 lines
910 B
Diff
From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
Date: Mon, 30 Sep 2019 17:09:10 +0200
|
|
Subject: babeld: Include PKG_RELEASE in babeld version
|
|
|
|
This will account for custom patches added, as otherwise version
|
|
would stay the same.
|
|
|
|
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
[fabian@blaese.de: revise version string]
|
|
Signed-off-by: Fabian Bläse <fabian@blaese.de>
|
|
|
|
diff --git a/babeld/Makefile b/babeld/Makefile
|
|
index 0b611286092464528135c15e100b3d6928f5a677..b0ed749e98714bf146b4e4be34d71484447b8ecb 100644
|
|
--- a/babeld/Makefile
|
|
+++ b/babeld/Makefile
|
|
@@ -49,6 +49,11 @@ MAKE_FLAGS+= \
|
|
LDLIBS="" \
|
|
LDLIBS+="-lubus -lubox"
|
|
|
|
+define Build/Configure
|
|
+ echo "babeld-$(PKG_VERSION)+fff$(PKG_RELEASE)" > $(PKG_BUILD_DIR)/version
|
|
+ $(Build/Configure/Default)
|
|
+endef
|
|
+
|
|
define Package/babeld/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/babeld $(1)/usr/sbin/
|