2019-10-02 00:11:23 +02:00
|
|
|
From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
Date: Mon, 30 Sep 2019 17:09:10 +0200
|
2021-02-10 00:34:15 +01:00
|
|
|
Subject: babeld: Include PKG_RELEASE in babeld version
|
2019-10-02 00:11:23 +02:00
|
|
|
|
|
|
|
This will account for custom patches added, as otherwise version
|
|
|
|
would stay the same.
|
|
|
|
|
|
|
|
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
2019-11-16 01:26:23 +01:00
|
|
|
[fabian@blaese.de: revise version string]
|
|
|
|
Signed-off-by: Fabian Bläse <fabian@blaese.de>
|
2019-10-02 00:11:23 +02:00
|
|
|
|
|
|
|
diff --git a/babeld/Makefile b/babeld/Makefile
|
2021-06-20 20:17:44 +02:00
|
|
|
index 056ce43d5ddb461ba94e51a5b18ffac0ef971468..16cc86fe5c2ae8731b0d7d2f64517e9b92d029f9 100644
|
2019-10-02 00:11:23 +02:00
|
|
|
--- a/babeld/Makefile
|
|
|
|
+++ b/babeld/Makefile
|
2021-06-20 20:17:44 +02:00
|
|
|
@@ -50,6 +50,11 @@ MAKE_FLAGS+= \
|
2019-10-02 00:11:23 +02:00
|
|
|
LDLIBS="" \
|
2021-02-10 00:34:15 +01:00
|
|
|
LDLIBS+="-lubus -lubox"
|
2019-10-02 00:11:23 +02:00
|
|
|
|
|
|
|
+define Build/Configure
|
2019-11-16 01:26:23 +01:00
|
|
|
+ echo "babeld-$(PKG_VERSION)+fff$(PKG_RELEASE)" > $(PKG_BUILD_DIR)/version
|
2019-10-02 00:11:23 +02:00
|
|
|
+ $(Build/Configure/Default)
|
|
|
|
+endef
|
|
|
|
+
|
|
|
|
define Package/babeld/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/babeld $(1)/usr/sbin/
|