mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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
188 B
Makefile
7 lines
188 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (c) 2012-2019, Intel Corporation. All rights reserved.
|
|
|
|
userprogs := mei-amt-version
|
|
always-y := $(userprogs)
|
|
|
|
userccflags += -I usr/include
|