build: allow var.% targets to bypass the prepare steps
authorMichael Pratt <mcpratt@pm.me>
Tue, 17 May 2022 21:50:23 +0000 (17:50 -0400)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 5 Jan 2024 15:25:13 +0000 (16:25 +0100)
commite4a43cda0efba562d0ed1973b584c21309040ccc
tree759d87762e373ba787b5ead7d2c3377c03bfff07
parent2e6ec200dfe6ee62380821bc001d0b546bc6f799
build: allow var.% targets to bypass the prepare steps

These targets are used to input variable values from the Make
context into other things like python scripts, so log messages
should be silenced and build prerequisites should be skipped.

The same thing is done for the other variable print target "val.%".

While at it, combine identical target rules into one definition.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
include/toplevel.mk