Add external-deps target to show what external files are needed to recreate
the build.
_source-check:
$(MAKE) SPIDER=--spider source
+external-deps:
+ @$(MAKE) -Bs BR2_WGET=$(TOPDIR)toolchain/wget-show-external-deps.sh \
+ source
+
#############################################################
#
# Cleanup and misc junk
@echo 'Miscellaneous:'
@echo ' source - download all sources needed for offline-build'
@echo ' source-check - check all packages for valid download URLs'
+ @echo ' external-deps - list external packages used'
@echo
@echo 'See docs/README and docs/buildroot.html for further details'
@echo
--- /dev/null
+#!/bin/sh
+#
+# replacement for wget (see BR2_WGET) which simply shows the file name to be
+# downloaded. Used by the external-deps make target.
+
+exec basename ${!#}
\ No newline at end of file