From f458e45abf7e114a55272bd494d6a5c13f7c85bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 9 May 2015 16:55:23 +0300 Subject: Skip any handling of dependencies if SKIP_DEPS is defined This includes fetching and compilation. Example usage: SKIP_DEPS=1 make tests Should improve people's life when there are no Internets. --- core/deps.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/deps.mk') diff --git a/core/deps.mk b/core/deps.mk index 1115a97..3b18ce9 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -37,6 +37,9 @@ dep_verbose = $(dep_verbose_$(V)) # Core targets. +ifneq ($(SKIP_DEPS),) +deps:: +else deps:: $(ALL_DEPS_DIRS) @for dep in $(ALL_DEPS_DIRS) ; do \ if [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ] ; then \ @@ -46,6 +49,7 @@ deps:: $(ALL_DEPS_DIRS) exit 1 ; \ fi ; \ done +endif distclean:: distclean-deps distclean-pkg -- cgit v1.2.3