]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: re-implement Makefile.headersinst without recursion
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 4 Jun 2019 10:14:03 +0000 (19:14 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 15 Jun 2019 10:57:02 +0000 (19:57 +0900)
commit6499530f25f4933ab5995afb2aab20e270f93799
tree525d6420912fd5280d8678c09b61e050bce82173
parent9bb1c029df33aac68bdf53e4416daaa00a41ee13
kbuild: re-implement Makefile.headersinst without recursion

Since commit a15c2bd6d0b3 ("uapi: export all headers under uapi
directories"), the headers in uapi directories are all exported by
default although exceptional cases are still allowed by the syntax
'no-export-headers'.

The traditional directory descending has been kept (in a somewhat
hacky way), but it is actually unneeded.

Get rid of it to simplify the code.

Also, handle files one by one instead of the previous per-directory
processing. This will emit much more log, but I like it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile
include/uapi/Kbuild [new file with mode: 0644]
include/uapi/linux/Kbuild [deleted file]
scripts/Makefile.headersinst