xref: /linux/tools/build/Makefile.include (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2ab6201d0SJiri Olsabuild := -f $(srctree)/tools/build/Makefile.build dir=. obj
37c422f55SJiri Olsa
4*dbb2a7a9SBrian Norris# More than just $(Q), we sometimes want to suppress all command output from a
5*dbb2a7a9SBrian Norris# recursive make -- even the 'up to date' printout.
6*dbb2a7a9SBrian Norrisifeq ($(V),1)
7*dbb2a7a9SBrian Norris  Q ?=
8*dbb2a7a9SBrian Norris  SILENT_MAKE = +$(Q)$(MAKE)
9*dbb2a7a9SBrian Norriselse
10*dbb2a7a9SBrian Norris  Q ?= @
11*dbb2a7a9SBrian Norris  SILENT_MAKE = +$(Q)$(MAKE) --silent
12*dbb2a7a9SBrian Norrisendif
13*dbb2a7a9SBrian Norris
147c422f55SJiri Olsafixdep:
15*dbb2a7a9SBrian Norris	$(SILENT_MAKE) -C $(srctree)/tools/build CFLAGS= LDFLAGS= $(OUTPUT)fixdep
167c422f55SJiri Olsa
1785e0d509SJiri Olsafixdep-clean:
1885e0d509SJiri Olsa	$(Q)$(MAKE) -C $(srctree)/tools/build clean
1985e0d509SJiri Olsa
207c422f55SJiri Olsa.PHONY: fixdep
21