Commit be81aed3 authored by Namhyung Kim's avatar Namhyung Kim
Browse files

perf build: Add make check-headers target



Don't print header differences during the perf build as it's noisy.
Mostly people won't care and find it annoying.

As it's to improve perf trace beautifier to catch up new changes mostly
in UAPIs, we can make it a separate build target and call it
occasionally.  Make it and build-test related targets phony.

Reviewed-by: default avatarIan Rogers <irogers@google.com>
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent ad2cd6f9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -111,6 +111,9 @@ build-test:
build-test-tarball:
	@$(MAKE) -f tests/make REUSE_FEATURES_DUMP=1 MK=Makefile SET_PARALLEL=1 --no-print-directory out

check-headers:
	@./check-headers.sh

#
# All other targets get passed through:
#
@@ -118,4 +121,4 @@ build-test-tarball:
	$(print_msg)
	$(make)

.PHONY: tags TAGS FORCE Makefile
.PHONY: tags TAGS FORCE Makefile build-test build-test-tarball check-headers
+0 −1
Original line number Diff line number Diff line
@@ -285,7 +285,6 @@ goals := $(filter-out all sub-make, $(MAKECMDGOALS))
$(goals) all: sub-make

sub-make: fixdep
	@./check-headers.sh
	$(Q)$(MAKE) FIXDEP_BUILT=1 -f Makefile.perf $(goals)

else # force_fixdep