summaryrefslogtreecommitdiffstats
path: root/samples/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-04-29 05:45:23 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2020-05-17 11:52:02 +0200
commit60fb0b1239719df2ec92606fa037f7c116810762 (patch)
treeca52829fd4a0fc9183b7ae116db092de2fe44d3a /samples/Makefile
parentsamples: vfs: build sample programs for target architecture (diff)
downloadlinux-60fb0b1239719df2ec92606fa037f7c116810762.tar.xz
linux-60fb0b1239719df2ec92606fa037f7c116810762.zip
samples: pidfd: build sample program for target architecture
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>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions