History

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.

Masahiro Yamada committed 7 years ago

Commit 037fc331 parent 7cbbbb829 files · +18 −47Browse files

Showing the changes to include/uapi (1 of 29 files). Show all

Unified · Split

include/uapi/asm-generic/Kbuildrenamed from include/uapi/asm-generic/Kbuild.asm+3−1
@@ -1,6 +1,8 @@
1+# SPDX-License-Identifier: GPL-2.0
12 #
23 # 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+
46 mandatory-y += auxvec.h
57 mandatory-y += bitsperlong.h
68 mandatory-y += bpf_perf_event.h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t