summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2015-12-23 13:57:10 -0400
committerBruno de Oliveira Abinader <bruno@mapbox.com>2015-12-23 14:02:24 -0400
commit908f4d7eb10cf7d86c1d5295ce663a67a16e84a7 (patch)
treec350cfeda1aa79cb6663f88166a0dc7c1e0d9ce7 /scripts
parent11a8978eed54376bcb3b30afa636484959cbff14 (diff)
downloadqtlocation-mapboxgl-908f4d7eb10cf7d86c1d5295ce663a67a16e84a7.tar.gz
[core] Fix build script paths
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/main.mk b/scripts/main.mk
index 4d30d811b4..7caa4ae605 100644
--- a/scripts/main.mk
+++ b/scripts/main.mk
@@ -12,16 +12,16 @@ export HOST_VERSION ?= $(BUILD_VERSION)
# Optionally include version-specific host defaults
-include scripts/$(HOST)/$(HOST_VERSION)/defaults.mk
+-include platform/$(HOST)/scripts/$(HOST)/defaults.mk
export MASON_PLATFORM=$(HOST)
export MASON_PLATFORM_VERSION=$(HOST_VERSION)
-ifneq (,$(wildcard platform/$(HOST)/scripts/$(HOST_VERSION)/configure.sh))
- CONFIGURE_FILES += scripts/$(HOST)/$(HOST_VERSION)/configure.sh
-endif
-
export HOST_SLUG = $(HOST)-$(HOST_VERSION)
CONFIGURE_FILES = platform/$(HOST)/scripts/configure.sh
+ifneq (,$(wildcard scripts/$(HOST)/$(HOST_VERSION)/configure.sh))
+ CONFIGURE_FILES += scripts/$(HOST)/$(HOST_VERSION)/configure.sh
+endif
ifneq (,$(wildcard platform/$(HOST)/scripts/$(HOST_VERSION)/configure.sh))
CONFIGURE_FILES += platform/$(HOST)/scripts/$(HOST_VERSION)/configure.sh
endif