diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-07-31 00:43:13 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-07-31 00:43:13 +0200 |
commit | af26522c9ebbf167adfe28c43b5319ff4c98d13a (patch) | |
tree | 4b404fe7d3a50223b9a7c5d73a0e4e93d4bdfe0e /mk/macros.mk | |
parent | 753c56b9fbf54231dbffa035ed8562f94bce9c3d (diff) | |
download | embtoolkit-af26522c9ebbf167adfe28c43b5319ff4c98d13a.tar.gz embtoolkit-af26522c9ebbf167adfe28c43b5319ff4c98d13a.tar.bz2 embtoolkit-af26522c9ebbf167adfe28c43b5319ff4c98d13a.tar.xz |
Build system: some little tweaks
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/macros.mk')
-rw-r--r-- | mk/macros.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/macros.mk b/mk/macros.mk index 7f2a209..6613a54 100644 --- a/mk/macros.mk +++ b/mk/macros.mk @@ -460,7 +460,7 @@ endef # $(call embtk_download_pkg,PACKAGE) # define __embtk_download_pkg_patches -@if [ "x$(CONFIG_EMBTK_$(PKGV)_NEED_PATCH)" == "xy" ]; then \ +if [ "x$(CONFIG_EMBTK_$(PKGV)_NEED_PATCH)" == "xy" ]; then \ test -e $(DOWNLOAD_DIR)/$($(PKGV)_NAME)-$($(PKGV)_VERSION).patch || \ $(call embtk_wget, \ $($(PKGV)_NAME)-$($(PKGV)_VERSION).patch, \ @@ -480,7 +480,7 @@ fi endef define embtk_download_pkg $(call embtk_generic_msg,"Download $($(PKGV)_PACKAGE) if necessary...") - @test -e $(DOWNLOAD_DIR)/$($(PKGV)_PACKAGE) || \ + $(Q)test -e $(strip $(DOWNLOAD_DIR))/$(strip $($(PKGV)_PACKAGE)) || \ $(call embtk_wget, \ $($(PKGV)_PACKAGE), \ $($(PKGV)_SITE), \ |