makefile_base.mak: Fix nested_make with no goals specified

This commit is contained in:
John Schoenick 2018-08-31 15:10:31 -07:00
parent e47b3646b2
commit 452ce8de07

View file

@ -14,7 +14,7 @@ ifneq ($(NO_NESTED_MAKE),1)
export
.DEFAULT_GOAL := default
.PHONY: $(MAKECMDGOALS) default nested_make
$(MAKECMDGOALS): nested_make
default $(MAKECMDGOALS): nested_make
nested_make:
$(MAKE) $(MAKECMDGOALS) -f $(firstword $(MAKEFILE_LIST)) NO_NESTED_MAKE=1