From: Adrian Schmutzler 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 [fabian@blaese.de: revise version string] Signed-off-by: Fabian Bläse diff --git a/babeld/Makefile b/babeld/Makefile index 056ce43d5ddb461ba94e51a5b18ffac0ef971468..16cc86fe5c2ae8731b0d7d2f64517e9b92d029f9 100644 --- a/babeld/Makefile +++ b/babeld/Makefile @@ -50,6 +50,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/