mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
buildroot: add external-deps target
Add external-deps target to show what external files are needed to recreate the build.
This commit is contained in:
parent
f26f26fb62
commit
155971e08f
5
Makefile
5
Makefile
@ -322,6 +322,10 @@ source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
|||||||
_source-check:
|
_source-check:
|
||||||
$(MAKE) SPIDER=--spider source
|
$(MAKE) SPIDER=--spider source
|
||||||
|
|
||||||
|
external-deps:
|
||||||
|
@$(MAKE) -Bs BR2_WGET=$(TOPDIR)toolchain/wget-show-external-deps.sh \
|
||||||
|
source
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
# Cleanup and misc junk
|
# Cleanup and misc junk
|
||||||
@ -461,6 +465,7 @@ help:
|
|||||||
@echo 'Miscellaneous:'
|
@echo 'Miscellaneous:'
|
||||||
@echo ' source - download all sources needed for offline-build'
|
@echo ' source - download all sources needed for offline-build'
|
||||||
@echo ' source-check - check all packages for valid download URLs'
|
@echo ' source-check - check all packages for valid download URLs'
|
||||||
|
@echo ' external-deps - list external packages used'
|
||||||
@echo
|
@echo
|
||||||
@echo 'See docs/README and docs/buildroot.html for further details'
|
@echo 'See docs/README and docs/buildroot.html for further details'
|
||||||
@echo
|
@echo
|
||||||
|
6
toolchain/wget-show-external-deps.sh
Executable file
6
toolchain/wget-show-external-deps.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/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 ${!#}
|
Loading…
x
Reference in New Issue
Block a user