Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branch : master
commit e5fc167998054874f6581bf8427033a18567dd30 Author: Sven Eckelmann sven@narfation.org Date: Sun Oct 7 14:46:10 2018 +0200
batctl-devel: Move config options to external file
Signed-off-by: Sven Eckelmann sven@narfation.org
e5fc167998054874f6581bf8427033a18567dd30 batctl-devel/Config.in | 9 +++++++++ batctl-devel/Makefile | 10 +--------- 2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/batctl-devel/Config.in b/batctl-devel/Config.in new file mode 100644 index 0000000..09f9c5f --- /dev/null +++ b/batctl-devel/Config.in @@ -0,0 +1,9 @@ +config BATCTL_DEVEL_BATCTL_BRANCH + string + prompt "batctl branch to build package with" + depends on PACKAGE_batctl-devel + default "master" + help + Enter a batctl branch name or git tag to override package + default value. This allows to build from non-master branches + to test unreleased features. diff --git a/batctl-devel/Makefile b/batctl-devel/Makefile index 6a48678..d740f60 100644 --- a/batctl-devel/Makefile +++ b/batctl-devel/Makefile @@ -38,15 +38,7 @@ development version ($(PKG_VERSION)). endef
define Package/batctl-devel/config - config BATCTL_DEVEL_BATCTL_BRANCH - string - prompt "batctl branch to build package with" - depends on PACKAGE_batctl-devel - default "master" - help - Enter a batctl branch name or git tag to override package - default value. This allows to build from non-master branches - to test unreleased features. + source "$(SOURCE)/Config.in" endef
# The linker can identify unused sections of a binary when each symbol is stored