mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
'source' target should depend on 'dirs'
In the following command flow: make distclean make <board>_defconfig make source the dl directory would normally be created by the first wget download. If there are no such downloads, e.g. because you use a local download mirror (e.g. scp, file) or only use git/svn/hg/bzr repositories, the dl directory is not created automatically. This causes e.g. the 'pushd' command in the respective _DOWNLOAD commands to fail. This patch adds a dependency to the 'dirs' target to 'source', fixing this scenario. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3633557c95
commit
4eb982cf90
2
Makefile
2
Makefile
@ -486,7 +486,7 @@ target-purgelocales:
|
|||||||
done
|
done
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
source: dirs $(TARGETS_SOURCE) $(HOST_SOURCE)
|
||||||
|
|
||||||
external-deps:
|
external-deps:
|
||||||
@$(MAKE) -Bs DL_MODE=SHOW_EXTERNAL_DEPS $(EXTRAMAKEARGS) source | sort -u
|
@$(MAKE) -Bs DL_MODE=SHOW_EXTERNAL_DEPS $(EXTRAMAKEARGS) source | sort -u
|
||||||
|
Loading…
x
Reference in New Issue
Block a user