summaryrefslogtreecommitdiff
path: root/Makefile.top
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-11-21 22:36:34 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-11-27 22:40:22 +0100
commit16aa073855da37d75d0f48e7fbdf92d14ef8c264 (patch)
tree214b905ea3ea1c8b1de6366e9d8d05c74eab8241 /Makefile.top
parentbec854077c372f32a904e21b818a6639c18671e0 (diff)
move ooo.lst and download parts to Makefile.fetch
Change-Id: I2d27341566d383002446c23bdf60c7aa0cabf37d
Diffstat (limited to 'Makefile.top')
-rw-r--r--Makefile.top11
1 files changed, 7 insertions, 4 deletions
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