summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-03-23 22:18:48 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-03-23 22:18:48 +0100
commitef79cc8b8f7119a07c613151af058a9d0c447b0f (patch)
treeea63c547e017d8cbeae9e2ac0558b2abebd52663
parentec9bfde3c55838a63384307be65a2d3c8728c480 (diff)
downloadembtoolkit-ef79cc8b8f7119a07c613151af058a9d0c447b0f.tar.gz
embtoolkit-ef79cc8b8f7119a07c613151af058a9d0c447b0f.tar.bz2
embtoolkit-ef79cc8b8f7119a07c613151af058a9d0c447b0f.tar.xz
Toolchain: strace: give ability to build git version
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--core/kconfig/strace.kconfig24
-rw-r--r--core/mk/strace.mk1
2 files changed, 25 insertions, 0 deletions
diff --git a/core/kconfig/strace.kconfig b/core/kconfig/strace.kconfig
index 81b8837..7e527fd 100644
--- a/core/kconfig/strace.kconfig
+++ b/core/kconfig/strace.kconfig
@@ -36,12 +36,36 @@ choice
config EMBTK_STRACE_VERSION_4_8
bool "strace-embtk-4.8"
select EMBTK_STRACE_NEED_PATCH
+ config EMBTK_STRACE_VERSION_GIT
+ bool "Use strace git repository"
+ select EMBTK_STRACE_NEED_AUTORECONF
+ help
+ Say Y here to use strace development version from its git
+ repository.
endchoice
+config EMBTK_STRACE_GIT_BRANCH
+ string "Branch to use"
+ default "master"
+ depends on EMBTK_STRACE_VERSION_GIT
+ help
+ The branch of the git repository to use, the default is master.
+
+config EMBTK_FOO_REFSPEC
+ string
+ default "toolchain"
+
+#
+# Versions strings
+#
config EMBTK_STRACE_VERSION_STRING
string
default "embtk-4.8" if EMBTK_STRACE_VERSION_4_8
+ default "git" if EMBTK_STRACE_VERSION_GIT
+#
+# autoreconf and patch
+#
config EMBTK_STRACE_NEED_PATCH
bool
config EMBTK_STRACE_NEED_AUTORECONF
diff --git a/core/mk/strace.mk b/core/mk/strace.mk
index b2d57cc..c075799 100644
--- a/core/mk/strace.mk
+++ b/core/mk/strace.mk
@@ -26,6 +26,7 @@
STRACE_NAME := strace
STRACE_VERSION := $(call embtk_get_pkgversion,strace)
STRACE_SITE := http://downloads.sourceforge.net/project/strace/strace/$(STRACE_VERSION)
+STRACE_GIT_SITE := git://git.code.sf.net/p/strace/code
STRACE_PACKAGE := strace-$(STRACE_VERSION).tar.bz2
STRACE_SRC_DIR := $(embtk_pkgb)/strace-$(STRACE_VERSION)
STRACE_BUILD_DIR := $(embtk_pkgb)/strace-build