Makefile.autotools.in: also support source/source-check

This commit is contained in:
Peter Korsgaard 2008-06-24 13:26:45 +00:00
parent 32986b80d4
commit f55ae3cdcf

View File

@ -130,8 +130,8 @@ TAR ?= tar
# Retrieve and unpack the archive
$(BUILD_DIR)/%/.stamp_downloaded:
# support make external-deps
ifeq ($(strip $(WGET)),$(TOPDIR)toolchain/wget-show-external-deps.sh)
# support make source/source-check/external-deps
ifneq ($(filter source,$(MAKECMDGOALS)),)
$(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_SOURCE)
else
$(call MESSAGE,"Downloading")