um: Fix W=1 missing-include-dirs warnings
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 15 Apr 2021 17:13:52 +0000 (10:13 -0700)
committerRichard Weinberger <richard@nod.at>
Thu, 15 Apr 2021 21:10:57 +0000 (23:10 +0200)
commited102bf2afed226703eaf85a704755bdbea34583
treec4c7f5f29bfeff191cee78303c95b0a856307df4
parent1a594f0afa2b176531e600a6bf8074849fe2a780
um: Fix W=1 missing-include-dirs warnings

Currently when using "W=1" with UML builds, there are over 700 warnings
like so:

  CC      arch/um/drivers/stderr_console.o
cc1: warning: ./arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]

but arch/um/ does not have include/uapi/ at all, so add that
subdir and put one Kbuild file into it (since git does not track
empty subdirs).

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Michal Marek <michal.lkml@markovi.net>
Cc: linux-kbuild@vger.kernel.org
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: linux-um@lists.infradead.org
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/uapi/asm/Kbuild [new file with mode: 0644]