makefile_base.mak: Fix nested make invoking wrong makefile

Effectively a no-op since outer makefile only sets variables we'd
inherit either way, but a silly landmine
This commit is contained in:
John Schoenick 2018-08-28 17:16:23 -07:00
parent d751c57451
commit a556fa1983

View File

@ -17,7 +17,7 @@ export
$(MAKECMDGOALS): nested_make
nested_make:
$(MAKE) $(MAKECMDGOALS) -f ../build/makefile_base.mak NO_NESTED_MAKE=1
$(MAKE) $(MAKECMDGOALS) -f $(firstword $(MAKEFILE_LIST)) NO_NESTED_MAKE=1
else # (Rest of the file is the else)