diff make/Makefile @ 48:49efd83dd6b5

6960333: Add make level ALLOW_DOWNLOADS=true option Reviewed-by: darcy, jjg
author ohair
date Thu, 10 Jun 2010 14:32:58 -0700
parents 9089ab6753d9
children 4ad9a782dab5
line wrap: on
line diff
--- a/make/Makefile	Wed Jun 09 15:21:52 2010 -0700
+++ b/make/Makefile	Thu Jun 10 14:32:58 2010 -0700
@@ -65,6 +65,11 @@
   endif
 endif 
 
+# If downloads are allowed
+ifeq ($(ALLOW_DOWNLOADS),true)
+  ANT_OPTIONS += -Dallow.downloads=true
+endif
+
 # Figure out the platform we are using
 _SYSTEM_UNAME := $(shell uname)
 _PLATFORM_KIND = unix