Skip to content

Commit 6e7fcbc

Browse files
committed
Makefile: export KBUILD_CLIPPY
Otherwise, for `O=` builds `CLIPPY=1` does nothing since the `Makefile` invokes a second `make` in the output directory. Reported-by: Andreas Hindborg <andreas.hindborg@wdc.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 8ddb2ec commit 6e7fcbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ ifeq ("$(origin CLIPPY)", "command line")
127127
KBUILD_CLIPPY := $(CLIPPY)
128128
endif
129129

130+
export KBUILD_CLIPPY
131+
130132
# Use make M=dir or set the environment variable KBUILD_EXTMOD to specify the
131133
# directory of external module to build. Setting M= takes precedence.
132134
ifeq ("$(origin M)", "command line")

0 commit comments

Comments
 (0)