mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:05:18 +07:00
60fb0b1239
This userspace program includes 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 program 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>
7 lines
121 B
Makefile
7 lines
121 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
usertprogs := pidfd-metadata
|
|
always-y := $(userprogs)
|
|
|
|
userccflags += -I usr/include
|