From: Adam Sutton Date: Mon, 18 Jan 2016 17:11:31 +0000 (+0000) Subject: build: provide a simple ./configure means of enabling bintray staticlib cache X-Git-Tag: v4.2.1~1160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1bd78fdcd765144a48e3e33b1f7ab395cce4e6f2;p=thirdparty%2Ftvheadend.git build: provide a simple ./configure means of enabling bintray staticlib cache --- diff --git a/Makefile.static b/Makefile.static index f645dc3ac..85fecc51a 100644 --- a/Makefile.static +++ b/Makefile.static @@ -39,7 +39,10 @@ # BINTRAY_REPO - The repo to upload to # -MAKEFILE ?= $(firstword $(MAKEFILE_LIST)) +MAKEFILE ?= $(firstword $(MAKEFILE_LIST)) + +# ./configure override +BINTRAY_CACHE ?= $(CONFIG_BINTRAY_CACHE) default: liball @@ -57,7 +60,7 @@ export BINTRAY_REPO # Download cache .PHONY: libcacheget libcacheget: -ifneq ($(BINTRAY_CACHE),) +ifeq ($(BINTRAY_CACHE),yes) @( $(ROOTDIR)/support/lib.sh download $(LIB_NAME) &&\ $(ROOTDIR)/support/lib.sh unpack $(LIB_NAME) ) || true endif diff --git a/configure b/configure index 5e972e165..03297a5ac 100755 --- a/configure +++ b/configure @@ -56,6 +56,7 @@ OPTIONS=( "tsdebug:no" "gtimer_check:no" "libsystemd_daemon:no" + "bintray_cache:yes" ) # @@ -653,7 +654,6 @@ if enabled_or_auto libsystemd_daemon; then fi fi - # ########################################################################### # Write config # ###########################################################################