bug 776783 - add Makefile.in and wrapper script (remove debugging code) r=ted

This commit is contained in:
John Ford 2012-09-07 15:15:51 -07:00
parent acb5af091a
commit 7cb77f5e17

View File

@ -28,24 +28,10 @@ endif
GENERATED_DIRS += $(DIST)/bin/$(GAIA_PATH)
ZIP_URL := https://github.com/mozilla-b2g/gaia/zipball/master
include $(topsrcdir)/config/rules.mk
libs::
# For now, let's fetch a copy of Gaia over http
rm -rf master.zip mozilla-b2g-gaia-*
ifeq ($(OS_ARCH),Darwin)
curl -L -o master.zip $(ZIP_URL)
else
# Github redirects to https. If https is busted, we still want a copy of Gaia
wget -O master.zip $(ZIP_URL) || \
wget -O master.zip --no-check-certificate $(ZIP_URL)
endif
unzip master.zip
mv mozilla-b2g-* $(topsrcdir)/gaia
# Below here is how Gaia gets built
# The Gaia build system freaks out when N > 1 for -jN
$(MAKE) -j1 -C $(GAIADIR) clean