summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index b00164237c40..fd66058cb8ca 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -14,7 +14,7 @@ endif
SHELL=/usr/bin/env bash
export SRCDIR:=@SRC_ROOT@
-export BUILDDIR:=$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))
+export BUILDDIR:=@BUILDDIR@
.PHONY : $(filter-out $(BUILDDIR)/config_host.mk,$(MAKECMDGOALS))