mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 09:16:44 +07:00
b98ccc7150
Kbuild now supports the 'userprogs' syntax to compile userspace programs for the same architecture as the kernel. Add the entry to samples/Makefile to put this into the build bot coverage. I also added the CONFIG option guarded 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
117 B
Makefile
6 lines
117 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
userprogs := hpet_example
|
|
always-y := $(userprogs)
|
|
|
|
userccflags += -I usr/include
|