Files
nuttx/tools
Daniel Fanache 8b988e8bd9 tools/Config.mk: eval compiler include-prefix detection only once
Three `export VAR ?= $(shell ...)` assignments cause GNU make to
re-run the embedded ${shell ...} every time the variable is exported
to a recipe's environment.  That spawns `tools/incdir` and
`tools/define` once per recipe, serialised through the master make
thread, which adds per recipe overhead to multi-job builds.

Wrap each with `ifeq ($(origin VAR),undefined)` + `:=` so the shell
call runs once at parse time while preserving the override semantics
of `?=`.

Measured impact on a 20-core build host is a ~26% speedup of wall
time.

Signed-off-by: Daniel Fanache <dan@rts.ro>
2026-05-12 16:34:52 +08:00
..
…
2025-08-28 10:04:01 +08:00
…
2025-04-11 09:43:22 +08:00
…
…
2026-01-24 23:31:43 +08:00
…
…
…
…
…
…
…
…
…
…
…
…
…