Lines Matching refs:cmdline
1 # $NetBSD: var-scope-cmdline.mk,v 1.4 2023/11/19 21:47:52 rillig Exp $
14 # variables from the cmdline scope override global variables, since after the
16 # be needed in the cmdline scope to ensure that there is no overriding
23 # there is a cmdline variable of the same name.
25 # Whenever a cmdline variable is created, any global variable of the
30 # Deleting a cmdline variable is not possible.
33 # there cannot be a cmdline variable of the same name. Therefore, after
35 # the cmdline scope.
37 # The above ruleset provides the same guarantees as the simple rule "cmdline
40 # that when a cmdline variable with '$$' in its name was added, a global
41 # variable was deleted, but not with the exact same name as the cmdline
43 # time than the name of the cmdline variable. For variable names that didn't
52 # Another bug was the wrong assumption that "deleting a cmdline variable is
57 # that both global and cmdline variables could now be undefined at will as a
61 # Most cmdline variables are set at the very beginning, when parsing the
63 # possible to set cmdline variables at any later time.
69 # A normal global variable, without any cmdline variable nearby.
75 # installing the cmdline variable instead. Since there is no obvious way to
76 # undefine a cmdline variable, there is no need to remember the old value
79 # See varmod-loop.mk for a non-obvious way to undefine a cmdline variable.