Searched hist:"82 d00a9392ecccc3828656e574bd62354a7259c9" (Results 1 – 2 of 2) sorted by relevance
/linux/samples/hidraw/ |
H A D | Makefile | diff 82d00a9392ecccc3828656e574bd62354a7259c9 Wed Apr 29 05:45:20 CEST 2020 Masahiro Yamada <masahiroy@kernel.org> samples: hidraw: 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 D | Kconfig | diff 82d00a9392ecccc3828656e574bd62354a7259c9 Wed Apr 29 05:45:20 CEST 2020 Masahiro Yamada <masahiroy@kernel.org> samples: hidraw: 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>
|