xref: /linux/tools/build/Makefile.include (revision c7546e2c3cb739a3c1a2f5acaf9bb629d401afe5)
1# SPDX-License-Identifier: GPL-2.0-only
2build := -f $(srctree)/tools/build/Makefile.build dir=. obj
3
4# More than just $(Q), we sometimes want to suppress all command output from a
5# recursive make -- even the 'up to date' printout.
6ifeq ($(V),1)
7  Q ?=
8  SILENT_MAKE = +$(Q)$(MAKE)
9else
10  Q ?= @
11  SILENT_MAKE = +$(Q)$(MAKE) --silent
12endif
13
14fixdep:
15	$(SILENT_MAKE) -C $(srctree)/tools/build CFLAGS= LDFLAGS= $(OUTPUT)fixdep
16
17fixdep-clean:
18	$(Q)$(MAKE) -C $(srctree)/tools/build clean
19
20.PHONY: fixdep
21