From 3ab307a68cbc30ab37d15f62e88dd19b51ac9632 Mon Sep 17 00:00:00 2001 From: Raphael Moll Date: Fri, 2 Mar 2012 12:40:04 -0800 Subject: [PATCH] SDK: Also read sdk/build/tools.OS.atree This allows us to have per-host OS (or OS + arch) atree files in case we need to get tools which source varies per host OS, example: - sdk/build/tools.linux.atree - sdk/build/tools.linux-x86_64.atree - sdk/build/tools.windows.atree etc. Change-Id: I9a1256548345fb866b0750fce6810913413dd946 --- core/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/Makefile b/core/Makefile index 819eb38227..8d0dfed0b6 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1382,6 +1382,12 @@ sdk_tools_atree_files := sdk/build/tools.atree ifneq (,$(strip $(wildcard sdk/build/tools.$(TARGET_ARCH).atree))) sdk_tools_atree_files += sdk/build/tools.$(TARGET_ARCH).atree endif +ifneq (,$(strip $(wildcard sdk/build/tools.$(HOST_OS).atree))) + sdk_tools_atree_files += sdk/build/tools.$(HOST_OS).atree +endif +ifneq (,$(strip $(wildcard sdk/build/tools.$(HOST_OS)-$(HOST_ARCH).atree))) + sdk_tools_atree_files += sdk/build/tools.$(HOST_OS)-$(HOST_ARCH).atree +endif sdk_atree_files := \ $(atree_dir)/sdk.exclude.atree \