mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 13:41:55 +00:00
28949b84b2
These userspace programs include UAPI headers exported to usr/include/. 'make headers' always works for the target architecture (i.e. the same architecture as the kernel), so the sample programs should be built for the target as well. Kbuild now supports 'userprogs' for that. I also guarded the CONFIG option by 'depends on CC_CAN_LINK' because $(CC) may not provide libc. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Sam Ravnborg <sam@ravnborg.org>
6 lines
133 B
Makefile
6 lines
133 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
userprogs := test-fsmount test-statx
|
|
always-y := $(userprogs)
|
|
|
|
userccflags += -I usr/include
|