Re: [RFC PATCH] Use target compiler for user binaries in samples/

2013-04-10 Thread Michal Marek
On 31.3.2013 18:53, Sam Ravnborg wrote: > The user-space binaries build in samples/ uses the installed > headers for the kernel. > Therefore it is wrong that they use the host compiler > to build the samples. > > Following is an attempt to create some infrastructure > for building user-space binar

Re: [RFC PATCH] Use target compiler for user binaries in samples/

2013-04-04 Thread Jiri Kosina
On Sun, 31 Mar 2013, Sam Ravnborg wrote: > The user-space binaries build in samples/ uses the installed > headers for the kernel. > Therefore it is wrong that they use the host compiler > to build the samples. > > Following is an attempt to create some infrastructure > for building user-space bin