summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solenv/gbuild/partial_build.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/solenv/gbuild/partial_build.mk b/solenv/gbuild/partial_build.mk
index 8107bb2129cf..9c7f3fb3b750 100644
--- a/solenv/gbuild/partial_build.mk
+++ b/solenv/gbuild/partial_build.mk
@@ -1,13 +1,8 @@
ifeq ($(gb_Side),)
gb_Side:=host
endif
-
-ifeq (,$(BUILDDIR))
-BUILDDIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))../..
-endif
-
ifeq ($(SOLARENV),)
-include $(BUILDDIR)/config_$(gb_Side).mk
+include $(dir $(realpath $(lastword $(MAKEFILE_LIST))))../../config_$(gb_Side).mk
endif
gb_PARTIAL_BUILD := T