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.
Showing the changes to include/uapi (1 of 29 files). Show all
Unified · Split
| @@ -1,6 +1,8 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # | 2 | # |
| 2 | # Headers that are mandatory in usr/include/asm/ | 3 | # Headers that are mandatory in usr/include/asm/ |
| 3 | # | 4 | # (This file is not included when SRCARCH=um since UML does not support UAPI.) |
| 5 | |||
| 4 | mandatory-y += auxvec.h | 6 | mandatory-y += auxvec.h |
| 5 | mandatory-y += bitsperlong.h | 7 | mandatory-y += bitsperlong.h |
| 6 | mandatory-y += bpf_perf_event.h | 8 | mandatory-y += bpf_perf_event.h |