forked from freifunk-franken/firmware
Fabian Bläse
7ffb75633b
Refresh patches for main repo, packages and routing. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
35 lines
1007 B
Diff
35 lines
1007 B
Diff
From f114914490740247f2b6ca705f0f7055db9681ab Mon Sep 17 00:00:00 2001
|
|
From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
Date: Mon, 30 Sep 2019 17:09:10 +0200
|
|
Subject: [PATCH 1/2] 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>
|
|
---
|
|
babeld/Makefile | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/babeld/Makefile b/babeld/Makefile
|
|
index 022d0b8..78fdf83 100644
|
|
--- a/babeld/Makefile
|
|
+++ b/babeld/Makefile
|
|
@@ -48,6 +48,11 @@ MAKE_FLAGS+= \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
LDLIBS="" \
|
|
|
|
+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/
|
|
--
|
|
2.25.1
|
|
|