| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | build := -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. |
| 6 | ifeq ($(V),1) |
| 7 | Q ?= |
| 8 | SILENT_MAKE = +$(Q)$(MAKE) |
| 9 | else |
| 10 | Q ?= @ |
| 11 | SILENT_MAKE = +$(Q)$(MAKE) --silent |
| 12 | endif |
| 13 | |
| 14 | fixdep: |
| 15 | $(SILENT_MAKE) -C $(srctree)/tools/build CFLAGS= LDFLAGS= $(OUTPUT)fixdep |
| 16 | |
| 17 | fixdep-clean: |
| 18 | $(Q)$(MAKE) -C $(srctree)/tools/build clean |
| 19 | |
| 20 | .PHONY: fixdep |