Makefile is generated in BUILDDIR, not SRCDIR (fix fetch for android)

Change-Id: Ieaa4cb0e8d3370154cd1a57d4afaf5bfa715cbc9
This commit is contained in:
Christian Lohmaier 2017-05-28 14:25:54 +02:00
parent eac12b1fe5
commit 372f297de1

View file

@ -277,7 +277,7 @@ help showmodules gbuildtojson:
cross-toolset: bootstrap fetch
# fetch again in case there are externals only needed on build platform
ifneq ($(OS),IOS)
$(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile fetch
$(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(BUILDDIR)/Makefile fetch
endif
$(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild build-tools