diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-03-16 22:01:09 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-03-16 23:56:32 -0400 |
commit | 037fc3368be46dc1a2a90f6e50c8cbce49d75fd6 (patch) | |
tree | 2fdd8f1b803d33f27aff70391742d48f843b33b5 /Makefile | |
parent | 7cbbbb8bc2974264bbbf326d9a4552fc8878d375 (diff) |
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 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1098,9 +1098,11 @@ asm-generic := -f $(srctree)/scripts/Makefile.asm-generic obj | |||
1098 | 1098 | ||
1099 | PHONY += asm-generic uapi-asm-generic | 1099 | PHONY += asm-generic uapi-asm-generic |
1100 | asm-generic: uapi-asm-generic | 1100 | asm-generic: uapi-asm-generic |
1101 | $(Q)$(MAKE) $(asm-generic)=arch/$(SRCARCH)/include/generated/asm | 1101 | $(Q)$(MAKE) $(asm-generic)=arch/$(SRCARCH)/include/generated/asm \ |
1102 | generic=include/asm-generic | ||
1102 | uapi-asm-generic: | 1103 | uapi-asm-generic: |
1103 | $(Q)$(MAKE) $(asm-generic)=arch/$(SRCARCH)/include/generated/uapi/asm | 1104 | $(Q)$(MAKE) $(asm-generic)=arch/$(SRCARCH)/include/generated/uapi/asm \ |
1105 | generic=include/uapi/asm-generic | ||
1104 | 1106 | ||
1105 | PHONY += prepare-objtool | 1107 | PHONY += prepare-objtool |
1106 | prepare-objtool: $(objtool_target) | 1108 | prepare-objtool: $(objtool_target) |