< prev index next >

make/common/MakeBase.gmk

Print this page

        

*** 43,52 **** --- 43,57 ---- ############################## # Functions ############################## + ### Debug functions + + # Prints the name and value of a variable + PrintVar = \ + $(info $(strip $1) >$($(strip $1))<) ### Functions for timers # Store the build times in this directory. BUILDTIMESDIR=$(OUTPUT_ROOT)/make-support/build-times
*** 556,565 **** --- 561,577 ---- # String equals equals = \ $(and $(findstring $(strip $1),$(strip $2)),\ $(findstring $(strip $2),$(strip $1))) + # Remove a whole list of prefixes + # $1 - List of prefixes + # $2 - List of elements to process + remove-prefixes = \ + $(strip $(if $1,$(patsubst $(firstword $1)%,%,\ + $(call remove-prefixes,$(filter-out $(firstword $1),$1),$2)),$2)) + ################################################################################ ifneq ($(DISABLE_CACHE_FIND), true) # In Cygwin, finds are very costly, both because of expensive forks and because # of bad file system caching. Find is used extensively in $(shell) commands to
< prev index next >