author: Masahiro Yamada <yamada.masahiro@socionext.com> 2019-03-17 11:01:09 +0900
committer: Masahiro Yamada <yamada.masahiro@socionext.com> 2019-03-17 12:56:32 +0900
commit: 037fc3368be46dc1a2a90f6e50c8cbce49d75fd6
parent: 7cbbbb8bc2974264bbbf326d9a4552fc8878d375
Commit Summary:
Diffstat:
1 file changed, 5 insertions, 0 deletions
diff --git a/scripts/Makefile.asm-generic b/scripts/Makefile.asm-generic
index c7d2b7acad26..82ad63dcd62b 100644
--- a/scripts/Makefile.asm-generic
+++ b/scripts/Makefile.asm-generic
@@ -12,6 +12,11 @@ all:
src := $(subst /generated,,$(obj))
-include $(src)/Kbuild
+# $(generic)/Kbuild lists mandatory-y. Exclude um since it is a special case.
+ifneq ($(SRCARCH),um)
+include $(generic)/Kbuild
+endif
+
include scripts/Kbuild.include
redundant := $(filter $(mandatory-y) $(generated-y), $(generic-y))