summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/defaults.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak
index 25512d249..d04b67ffa 100644
--- a/buildlib/defaults.mak
+++ b/buildlib/defaults.mak
@@ -36,7 +36,7 @@ endif
ifdef BUILD
BUILD_POSSIBLE := $(BUILD) $(BASE)/$(BUILD)
else
-BUILD_POSSIBLE := $(BASE) $(BASE)/build
+BUILD_POSSIBLE := $(BASE) $(BASE)/build-$(shell uname -m) $(BASE)/build
endif
BUILDX:= $(foreach i,$(BUILD_POSSIBLE),$(wildcard $(i)/environment.mak*))