Ver código fonte

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

Peter Korsgaard 17 anos atrás
pai
commit
f55ae3cdcf
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      package/Makefile.autotools.in

+ 2 - 2
package/Makefile.autotools.in

@@ -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")