Skip to content

Commit

Permalink
um: Fix W=1 missing-include-dirs warnings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Michal Marek <[email protected]>
Cc: [email protected]
Cc: Jeff Dike <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Anton Ivanov <[email protected]>
Cc: [email protected]
Reviewed-by: Masahiro Yamada <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
rddunlap authored and richardweinberger committed Apr 15, 2021
1 parent 1a594f0 commit ed102bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/um/include/uapi/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# SPDX-License-Identifier: GPL-2.0

0 comments on commit ed102bf

Please sign in to comment.