< prev index next >

make/common/MakeBase.gmk

Print this page

        

*** 158,187 **** # but with a limit of 20 on <ALL NEWER PREREQUISITES>, to avoid cluttering logs too much # (and causing a crash on Cygwin). SHELL = $$(warning $$(if $$@,Building $$@,Running shell command) $$(if $$<, (from $$<))$$(if $$?, ($$(wordlist 1, 20, $$?) $$(if $$(wordlist 21, 22, $$?), ... [in total $$(words $$?) files]) newer)))$$(SHELL_NO_RECURSE) -x endif - # The LOG_PREFIX is set for sub recursive calls like buildjdk and bootcycle. # The warn level can never be turned off ! LogWarn = $$(info $(LOG_PREFIX)$$(strip $$1)) LOG_WARN := ifneq ($$(findstring $$(LOG_LEVEL), info debug trace),) ! LogInfo = $$(info $(LOG_PREFIX)$$(strip $$1)) LOG_INFO := else LogInfo = LOG_INFO := > /dev/null endif ifneq ($$(findstring $$(LOG_LEVEL), debug trace),) ! LogDebug = $$(info $(LOG_PREFIX)$$(strip $$1)) LOG_DEBUG := else LogDebug = LOG_DEBUG := > /dev/null endif ifneq ($$(findstring $$(LOG_LEVEL), trace),) ! LogTrace = $$(info $(LOG_PREFIX)$$(strip $$1)) LOG_TRACE := else LogTrace = LOG_TRACE := > /dev/null endif --- 158,186 ---- # but with a limit of 20 on <ALL NEWER PREREQUISITES>, to avoid cluttering logs too much # (and causing a crash on Cygwin). SHELL = $$(warning $$(if $$@,Building $$@,Running shell command) $$(if $$<, (from $$<))$$(if $$?, ($$(wordlist 1, 20, $$?) $$(if $$(wordlist 21, 22, $$?), ... [in total $$(words $$?) files]) newer)))$$(SHELL_NO_RECURSE) -x endif # The warn level can never be turned off ! LogWarn = $$(info $$(strip $$1)) LOG_WARN := ifneq ($$(findstring $$(LOG_LEVEL), info debug trace),) ! LogInfo = $$(info $$(strip $$1)) LOG_INFO := else LogInfo = LOG_INFO := > /dev/null endif ifneq ($$(findstring $$(LOG_LEVEL), debug trace),) ! LogDebug = $$(info $$(strip $$1)) LOG_DEBUG := else LogDebug = LOG_DEBUG := > /dev/null endif ifneq ($$(findstring $$(LOG_LEVEL), trace),) ! LogTrace = $$(info $$(strip $$1)) LOG_TRACE := else LogTrace = LOG_TRACE := > /dev/null endif
*** 471,496 **** FixPath = \ $1 endif ################################################################################ - # FixPathList - # - # On Windows, converts a cygwin/unix style path list (colon-separated) into - # the native format (mixed mode, semicolon-separated). On other platforms, - # return the path list unchanged. - ################################################################################ - ifeq ($(call isTargetOs, windows), true) - FixPathList = \ - $(subst @,$(SPACE),$(subst $(SPACE),;,$(foreach entry,$(subst :,$(SPACE),\ - $(subst $(SPACE),@,$(strip $1))),$(call FixPath, $(entry))))) - else - FixPathList = \ - $1 - endif - - ################################################################################ # DependOnVariable # # This macro takes a variable name and puts the value in a file only if the # value has changed since last. The name of the file is returned. This can be # used to create rule dependencies on make variable values. The following --- 470,479 ----
< prev index next >