Home
last modified time | relevance | path

Searched hist:"60 fb0b1239719df2ec92606fa037f7c116810762" (Results 1 – 2 of 2) sorted by relevance

/linux/samples/pidfd/
H A DMakefilediff 60fb0b1239719df2ec92606fa037f7c116810762 Wed Apr 29 05:45:23 CEST 2020 Masahiro Yamada <masahiroy@kernel.org> 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>
/linux/samples/
H A DKconfigdiff 60fb0b1239719df2ec92606fa037f7c116810762 Wed Apr 29 05:45:23 CEST 2020 Masahiro Yamada <masahiroy@kernel.org> 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>