From 16aa073855da37d75d0f48e7fbdf92d14ef8c264 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Wed, 21 Nov 2012 22:36:34 +0100 Subject: move ooo.lst and download parts to Makefile.fetch Change-Id: I2d27341566d383002446c23bdf60c7aa0cabf37d --- Makefile.top | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile.top') diff --git a/Makefile.top b/Makefile.top index 283128e3ef9f..3d570f816e7f 100644 --- a/Makefile.top +++ b/Makefile.top @@ -351,7 +351,7 @@ ifeq ($(BUILD_DMAKE),YES) rm -f solenv/*/bin/dmake* endif rm -fr config_host.mk config_build.mk aclocal.m4 autom4te.cache \ - config.log config.status configure ooo.lst \ + config.log config.status configure \ config_host.mk.last config_host.mk.stamp src.downloaded warn find $(SOLARENV)/gdb -name "*.pyc" -exec rm {} \; @@ -368,11 +368,14 @@ ifneq ($(filter-out clean distclean,$(MAKECMDGOALS)),) # # Fetch # -fetch: src.downloaded +ifeq ($(DO_FETCH_TARBALLS),YES) +include $(SRCDIR)/Makefile.fetch +endif +fetch: $(SRCDIR)/src.downloaded -src.downloaded : Makefile.top download ooo.lst +$(SRCDIR)/src.downloaded : $(SRCDIR)/download $(SRCDIR)/config_host.mk ifeq ($(DO_FETCH_TARBALLS),YES) - @./download $(SRCDIR)/ooo.lst && touch $@ + @$< && touch $@ else @echo "Automatic fetching of external tarballs is disabled." endif -- cgit