summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2016-08-29 12:46:06 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-29 12:46:06 +0000
commitd4f2f2a03cc7c6e0b9af49d18cc9c08c68306ca5 (patch)
tree1f84a51dcaeba2d1b0c443c9cb217a5dbcfde1e8 /build/Makefile
parentad0dd57dc045b58c46e53f281ab57e70d00947d7 (diff)
parentdc647f941fc3923f5ed1f2888318b218c23f4362 (diff)
Merge changes from topic 'var-overrides'
* changes: build: Allow MIRROR_MOS_UBUNTU override build: Allow PLUGINS override
Diffstat (limited to 'build/Makefile')
-rw-r--r--build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile
index c4775a3da..b3905e364 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -57,7 +57,7 @@ export MIRROR_UBUNTU_ROOT := $(shell echo -n '/' ; echo "$(MIRROR_UBUNTU_URL)" |
export LATEST_MIRROR_ID_URL := http://$(shell ./select_closest_fuel_mirror.py)
-export MIRROR_MOS_UBUNTU := $(shell echo "$(LATEST_MIRROR_ID_URL)" | cut -d'/' -f3)
+export MIRROR_MOS_UBUNTU ?= $(shell echo "$(LATEST_MIRROR_ID_URL)" | cut -d'/' -f3)
export LATEST_TARGET_UBUNTU := $(shell curl -sSf "$(MIRROR_MOS_UBUNTU)/mos-repos/ubuntu/$(MOSVERSION).target.txt" | head -1)
export MIRROR_MOS_UBUNTU_ROOT := /mos-repos/ubuntu/$(LATEST_TARGET_UBUNTU)