Home
last modified time | relevance | path

Searched hist:c4c10996b1940e197b45f827b99f40a4b82daebb (Results 1 – 2 of 2) sorted by relevance

/linux/samples/mei/
H A DMakefilediff c4c10996b1940e197b45f827b99f40a4b82daebb Wed Apr 29 05:45:24 CEST 2020 Masahiro Yamada <masahiroy@kernel.org> samples: mei: 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 c4c10996b1940e197b45f827b99f40a4b82daebb Wed Apr 29 05:45:24 CEST 2020 Masahiro Yamada <masahiroy@kernel.org> samples: mei: 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>