a13c905f8d
This reverts commit 13034c8e44
. The original
presumably works fine for a separate builddir(?), but it erroneously(?) replaced
"lastword MAKEFILE_LIST" with "firstword MAKEFILE_LIST" so "cd <module> &&
make" failed to find config_host.mk; fixed that part now.
Change-Id: Icde8315425dd230544125901de4f3a605b239155
16 lines
349 B
Makefile
16 lines
349 B
Makefile
ifeq ($(gb_Side),)
|
|
gb_Side:=host
|
|
endif
|
|
|
|
ifeq (,$(BUILDDIR))
|
|
BUILDDIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))../..
|
|
endif
|
|
|
|
ifeq ($(SOLARENV),)
|
|
include $(BUILDDIR)/config_$(gb_Side).mk
|
|
endif
|
|
|
|
gb_PARTIAL_BUILD := T
|
|
include $(SOLARENV)/gbuild/gbuild.mk
|
|
|
|
$(eval $(call gb_Module_make_global_targets,$(wildcard $(module_directory)/Module*.mk)))
|