* [Buildroot] Finding the linux kernel headers version of a gcc cross toolchain @ 2020-04-17 15:08 Laurentiu-Cristian Duca 2020-04-18 19:48 ` Baruch Siach 0 siblings, 1 reply; 2+ messages in thread From: Laurentiu-Cristian Duca @ 2020-04-17 15:08 UTC (permalink / raw) To: buildroot Hello buildroot community, When choosing an external toolchain for Buildroot we must specify the kernel headers version used to build the corresponding toolchain. Can you please tell me how to detect the kernel headers version of the external toolchain? Thank you Kind regards L-C Duca ^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Finding the linux kernel headers version of a gcc cross toolchain 2020-04-17 15:08 [Buildroot] Finding the linux kernel headers version of a gcc cross toolchain Laurentiu-Cristian Duca @ 2020-04-18 19:48 ` Baruch Siach 0 siblings, 0 replies; 2+ messages in thread From: Baruch Siach @ 2020-04-18 19:48 UTC (permalink / raw) To: buildroot Hi L-C, On Fri, Apr 17 2020, Laurentiu-Cristian Duca wrote: > Hello buildroot community, > > When choosing an external toolchain for Buildroot > we must specify the kernel headers version used to build the > corresponding toolchain. > Can you please tell me how to detect the kernel headers version of the > external toolchain? Look for the linux/version.h header file from your toolchain. Use the LINUX_VERSION_CODE and KERNEL_VERSION macros that this file defines to find the kernel headers version. baruch -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-18 19:48 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-04-17 15:08 [Buildroot] Finding the linux kernel headers version of a gcc cross toolchain Laurentiu-Cristian Duca 2020-04-18 19:48 ` Baruch Siach
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox