# --------------------------------------------------------------- # the setpath shell function in envsetup.sh uses this to figure out # what to add to the path given the config we have chosen. ifeq ($(CALLED_FROM_SETUP),true)
# Dump mulitple variables to "<var>=<value>" pairs, one per line. # The output may be executed as bash script. # Input variables: # DUMP_MANY_VARS: the list of variable names. # DUMP_VAR_PREFIX: an optional prefix of the variable name added to the output. # The value is printed in parts because large variables like PRODUCT_PACKAGES # can exceed the maximum linux command line size
.PHONY: dump-many-vars
dump-many-vars :
@$(foreach v, $(DUMP_MANY_VARS),\
printf "%s='%s"'$(DUMP_VAR_PREFIX)$(v)''$(firstword $($(v)))'; \
$(foreach part, $(wordlist 2, $(words $($(v))), $($(v))),\
printf " %s"'$(part)'$(newline))\
printf "'\n";)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.