summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-17 11:01:09 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-03-17 12:56:32 +0900
commit037fc3368be46dc1a2a90f6e50c8cbce49d75fd6 (patch)
tree2fdd8f1b803d33f27aff70391742d48f843b33b5 /include/asm-generic
parent7cbbbb8bc2974264bbbf326d9a4552fc8878d375 (diff)
downloadlinux-037fc3368be46dc1a2a90f6e50c8cbce49d75fd6.tar.bz2
kbuild: force all architectures except um to include mandatory-y
Currently, every arch/*/include/uapi/asm/Kbuild explicitly includes the common Kbuild.asm file. Factor out the duplicated include directives to scripts/Makefile.asm-generic so that no architecture would opt out of the mandatory-y mechanism. um is not forced to include mandatory-y since it is a very exceptional case which does not support UAPI. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/Kbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
new file mode 100644
index 000000000000..6f4536d70b8e
--- /dev/null
+++ b/include/asm-generic/Kbuild
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# asm headers that all architectures except um should have
+# (This file is not included when SRCARCH=um since UML borrows several
+# asm headers from the host architecutre.)