[core] Fix build script paths

This commit is contained in:
Bruno de Oliveira Abinader
2015-12-23 13:57:10 -04:00
parent 11a8978eed
commit 908f4d7eb1

View File

@@ -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