• Michael Shigorin's avatar
    lib/functions.mk: tiny but important note · c293dd14
    Michael Shigorin authored
    There's a particular problem with lazy evaluation
    in case of BOOT_LANG: mkimage uses internal variable,
    BOOT_LANG = $(GLOBAL_BOOT_LANG) (note the lack of
    immediate assignment there), and if we set up
    
      export GLOBAL_BOOT_LANG = $(BOOT_LANG)
    
    in the same namespace we end up with recursively
    defined pair of variables; a ":=" in either place
    would save the day _but_ it's not there in m-p due to
    accumulator variables, e.g. USERS, which are defined
    and exported by a corresponding feature and then get
    populated *after* having been declared for export,
    _and_ it's not in mkimage as of 0.2.16 for some reason
    that might even be good (I don't know yet).
    c293dd14
Name
Last commit
Last update
.gear Loading commit data...
bin Loading commit data...
conf.d Loading commit data...
doc Loading commit data...
features.in Loading commit data...
image.in Loading commit data...
lib Loading commit data...
pkg.in Loading commit data...
sub.in Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
QUICKSTART Loading commit data...
README Loading commit data...
main.mk Loading commit data...
reports.mk Loading commit data...