Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branch : master
commit baf08c7ff10b5b3132b6d1a86fed700855d7560b Author: Marek Lindner mareklindner@neomailbox.ch Date: Sun May 8 05:55:46 2016 +0800
alfred-devel: allow configuring the branch/tag via menuconfig
Signed-off-by: Marek Lindner mareklindner@neomailbox.ch
baf08c7ff10b5b3132b6d1a86fed700855d7560b alfred-devel/Config.in | 10 ++++++++++ alfred-devel/Makefile | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/alfred-devel/Config.in b/alfred-devel/Config.in index 98c409b..5cf1a85 100644 --- a/alfred-devel/Config.in +++ b/alfred-devel/Config.in @@ -20,3 +20,13 @@ config PACKAGE_ALFRED_DEVEL_GPSD depends on PACKAGE_alfred-devel select ALFRED_DEVEL_NEEDS_libgps default n + +config ALFRED_DEVEL_ALFRED_BRANCH + string + prompt "alfred branch to build package with" + depends on PACKAGE_alfred-devel + default "master" + help + Enter an alfred 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/alfred-devel/Makefile b/alfred-devel/Makefile index df52b2a..7a5cb52 100644 --- a/alfred-devel/Makefile +++ b/alfred-devel/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=alfred-devel
-PKG_BRANCH:=master +PKG_BRANCH:=$(call qstrip,$(CONFIG_ALFRED_DEVEL_ALFRED_BRANCH)) PKG_VERSION:=$(shell git ls-remote https://git@git.open-mesh.org/alfred.git $(PKG_BRANCH) | cut -c1-7) PKG_ALFRED_FNAME:=alfred-devel-$(PKG_VERSION).tar.gz PKG_ALFRED_DIR:=alfred-$(PKG_VERSION)