equal
deleted
inserted
replaced
359 # Make sure logging is setup for everyone that includes MakeBase.gmk. |
359 # Make sure logging is setup for everyone that includes MakeBase.gmk. |
360 $(eval $(call SetupLogging)) |
360 $(eval $(call SetupLogging)) |
361 |
361 |
362 # This is to be called by all SetupFoo macros |
362 # This is to be called by all SetupFoo macros |
363 define LogSetupMacroEntry |
363 define LogSetupMacroEntry |
364 $(if $(26),$(error Internal makefile error: Too many arguments to LogSetupMacroEntry, please update MakeBase.gmk)) |
364 $(if $(27),$(error Internal makefile error: Too many arguments to LogSetupMacroEntry, please update MakeBase.gmk)) |
365 $(if $(findstring $(LOG_LEVEL),debug trace), $(info $1 $(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25,$(if $($i),$(NEWLINE) $(strip [$i] $($i)))))) |
365 $(if $(findstring $(LOG_LEVEL),debug trace), $(info $1 $(foreach i,2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26,$(if $($i),$(NEWLINE) $(strip [$i] $($i)))))) |
366 endef |
366 endef |
367 |
367 |
368 # Make directory without forking mkdir if not needed |
368 # Make directory without forking mkdir if not needed |
369 define MakeDir |
369 define MakeDir |
370 ifneq ($$(wildcard $1 $2 $3 $4 $5 $6 $7 $8 $9),$$(strip $1 $2 $3 $4 $5 $6 $7 $8 $9)) |
370 ifneq ($$(wildcard $1 $2 $3 $4 $5 $6 $7 $8 $9),$$(strip $1 $2 $3 $4 $5 $6 $7 $8 $9)) |