VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Masahiro Yamada <masahiroy@kernel.org> 2019-12-04 11:51:48 +0900 committer: Masahiro Yamada <masahiroy@kernel.org> 2019-12-09 10:08:21 +0900 commit: cf6b58ab2d55f5a143c88c219c8e66ff0720fa69 parent: e42617b825f8073569da76dc4510bfa019b1c35a
Commit Summary:
kbuild: fix 'No such file or directory' warning when cleaning
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/usr/include/Makefile b/usr/include/Makefile
index 4a753a48767b..84598469e6ff 100644
--- a/usr/include/Makefile
+++ b/usr/include/Makefile
@@ -91,7 +91,7 @@ endif
 # asm-generic/*.h is used by asm/*.h, and should not be included directly
 header-test- += asm-generic/%
 
-extra-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h'))
+extra-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h' 2>/dev/null))
 
 quiet_cmd_hdrtest = HDRTEST $<
       cmd_hdrtest = \