mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-27 00:52:36 +00:00
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>
This commit is contained in:
parent
2e6ec200df
commit
e4a43cda0e
@ -210,9 +210,7 @@ prereq:: prepare-tmpinfo .config
|
||||
@+$(NO_TRACE_MAKE) -r -s $@
|
||||
|
||||
check: .config FORCE
|
||||
@+$(NO_TRACE_MAKE) -r -s $@ QUIET= V=s
|
||||
|
||||
val.%: FORCE
|
||||
check val.% var.%: FORCE
|
||||
@+$(NO_TRACE_MAKE) -r -s $@ QUIET= V=s
|
||||
|
||||
WARN_PARALLEL_ERROR = $(if $(BUILD_LOG),,$(and $(filter -j,$(MAKEFLAGS)),$(findstring s,$(OPENWRT_VERBOSE))))
|
||||
|
Loading…
Reference in New Issue
Block a user