diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-03-10 21:51:08 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-03-10 21:51:08 +0100 |
commit | a0585e7c78b98510fecffaf50e907a647cb0d7a1 (patch) | |
tree | c7c5a2492665ea4f83f0011c996f56f01da8cd00 /mk/macros.packages.mk | |
parent | 76673dc209ba57824cc61e1d553abbb2260717ae (diff) | |
download | embtoolkit-a0585e7c78b98510fecffaf50e907a647cb0d7a1.tar.gz embtoolkit-a0585e7c78b98510fecffaf50e907a647cb0d7a1.tar.bz2 embtoolkit-a0585e7c78b98510fecffaf50e907a647cb0d7a1.tar.xz |
Build system: give ability to define package repository in kconfig file
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/macros.packages.mk')
-rw-r--r-- | mk/macros.packages.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk index b2a9ab5..7e2993d 100644 --- a/mk/macros.packages.mk +++ b/mk/macros.packages.mk @@ -120,14 +120,14 @@ __embtk_pkg_package = $(strip $($(PKGV)_PACKAGE)) __embtk_pkg_refspec = $(call __embtk_mk_unquotestr,$(CONFIG_EMBTK_$(PKGV)_REFSPEC)) __embtk_pkg_usesvn = $(if $(CONFIG_EMBTK_$(PKGV)_VERSION_SVN),svn) -__embtk_pkg_svnsite = $(strip $($(PKGV)_SVN_SITE)) +__embtk_pkg_svnsite = $(or $(call __embtk_mk_unquotestr,$(CONFIG_EMBTK_$(PKGV)_SVN_SITE)),$(strip $($(PKGV)_SVN_SITE))) __embtk_pkg_svnbranch = $(call __embtk_mk_unquotestr,$(CONFIG_EMBTK_$(PKGV)_SVN_BRANCH)) __embtk_pkg_svnrev = $(call __embtk_mk_unquotestr,$(CONFIG_EMBTK_$(PKGV)_SVN_REVISION)) __embtk_pkg_localsvn = $(strip $(if $(__embtk_pkg_usesvn), \ $(EMBTK_ROOT)/src/$(__embtk_pkg_refspec)/$(__embtk_pkg_name)-$(notdir $(__embtk_pkg_svnbranch)).svn)) __embtk_pkg_usegit = $(if $(CONFIG_EMBTK_$(PKGV)_VERSION_GIT),git) -__embtk_pkg_gitsite = $(strip $($(PKGV)_GIT_SITE)) +__embtk_pkg_gitsite = $(or $(call __embtk_mk_unquotestr,$(CONFIG_EMBTK_$(PKGV)_GIT_SITE)),$(strip $($(PKGV)_GIT_SITE))) __embtk_pkg_gitbranch = $(or $(call __embtk_mk_unquotestr,$(CONFIG_EMBTK_$(PKGV)_GIT_BRANCH)),master) __embtk_pkg_gitrev = $(or $(call __embtk_mk_unquotestr,$(CONFIG_EMBTK_$(PKGV)_GIT_REVISION)),HEAD) __embtk_pkg_localgit = $(strip $(if $(__embtk_pkg_usegit), \ |