diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-11-20 21:16:29 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-11-20 21:16:29 +0100 |
commit | df58f1e878ae2600d391c3e9f4fdf09d7fb43127 (patch) | |
tree | cb533f4cb6f48d8610c70b230fdb7b9a7a4ea85f /mk/macros.packages.mk | |
parent | 33ad056c3a1e6be0da7ca1aacf72c7cd46643cf3 (diff) | |
download | embtoolkit-df58f1e878ae2600d391c3e9f4fdf09d7fb43127.tar.gz embtoolkit-df58f1e878ae2600d391c3e9f4fdf09d7fb43127.tar.bz2 embtoolkit-df58f1e878ae2600d391c3e9f4fdf09d7fb43127.tar.xz |
Build system: fix download macros bux introduced by recent commit
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/macros.packages.mk')
-rw-r--r-- | mk/macros.packages.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk index b5f44f1..43787bf 100644 --- a/mk/macros.packages.mk +++ b/mk/macros.packages.mk @@ -564,12 +564,11 @@ define __embtk_download_pkg_patches $(call embtk_wget, \ $(__embtk_pkg_name)-$(__embtk_pkg_version).patch, \ $(__embtk_pkg_patch_site), \ - $(__embtk_pkg_name)-$(__embtk_pkg_version)-*.patch)) + $(__embtk_pkg_name)-$(__embtk_pkg_version)-*.patch),true) endef define __embtk_download_pkg_exitfailure - (echo -e "\E[1;31m!Error on $(notdir $(1)) download!\E[0m";rm -rf $(1); \ - exit 1) + ($(call embtk_perror,"On $(notdir $(1)) download!");rm -rf $(1);exit 1) endef define __embtk_svncheckout_pkg @@ -650,7 +649,7 @@ define __embtk_download_pkg_from_tarball $(__embtk_pkg_package)),false) || \ $(call __embtk_download_pkg_exitfailure,$(__embtk_pkg_package_f)) $(call __embtk_download_pkg_patches,$(1)) || \ - $(call __embtk_download_pkg_exitfailure,$(__embtk_pkg_patch_f)) + $(call __embtk_download_pkg_exitfailure,$(__embtk_pkg_patch_f)) endef __embtk_pkgdl_src = $(or $(__embtk_pkg_usegit),$(__embtk_pkg_usesvn),tarball) |