diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-03-26 11:10:25 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-03-26 11:39:41 -0400 |
commit | 207e370a167b7856346c1bff0c735cd2688e2e6e (patch) | |
tree | 0e0f0da225c39e71cb1f8f2bf1e7f6bd34682c0d /solenv | |
parent | 469bb100d690d03b627dce48253a796a8f8cce68 (diff) |
make partial_build work in separate builddir
Change-Id: Ib5290a3e76170946ce3a8aac113b01d1ec54fac5
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/partial_build.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/solenv/gbuild/partial_build.mk b/solenv/gbuild/partial_build.mk index 9c7f3fb3b750..8107bb2129cf 100644 --- a/solenv/gbuild/partial_build.mk +++ b/solenv/gbuild/partial_build.mk @@ -1,8 +1,13 @@ ifeq ($(gb_Side),) gb_Side:=host endif + +ifeq (,$(BUILDDIR)) +BUILDDIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))../.. +endif + ifeq ($(SOLARENV),) -include $(dir $(realpath $(lastword $(MAKEFILE_LIST))))../../config_$(gb_Side).mk +include $(BUILDDIR)/config_$(gb_Side).mk endif gb_PARTIAL_BUILD := T |