From 6cc7f682ee04c6dab34e706b7fc2fbc701a257fb Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler 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 [fabian@blaese.de: revise version string] Signed-off-by: Fabian Bläse --- babeld/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/babeld/Makefile b/babeld/Makefile index d113d54..bd9cdb0 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.24.0