Fwd: [RFC] kbuild: Build samples directory with make modules

2014-01-09 Thread Syed Muhammad Mohsin Kazmi
Is there any specific reason that this patch is ignored still yet? Compiling the uImage and modules together add the support of samples? Shouldn't it be compiled as a module separately and that is correct behavior in case of if samples are compiled as loadable modules? Thanks, Mohsin Kazmi On

Fwd: [RFC] kbuild: Build samples directory with make modules

2014-01-09 Thread Syed Muhammad Mohsin Kazmi
Is there any specific reason that this patch is ignored still yet? Compiling the uImage and modules together add the support of samples? Shouldn't it be compiled as a module separately and that is correct behavior in case of if samples are compiled as loadable modules? Thanks, Mohsin Kazmi On

Re: [RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Jim Baxter
On 16/07/13 20:37, Sam Ravnborg wrote: > On Tue, Jul 16, 2013 at 07:29:50PM +0100, Jim Baxter wrote: >> If CONFIG_SAMPLES is enabled with any of the sample >> modules enabled, they are only built if the make command >> includes uImage and modules (i.e. make uImage modules). > > With the current

Re: [RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Sam Ravnborg
On Tue, Jul 16, 2013 at 07:29:50PM +0100, Jim Baxter wrote: > If CONFIG_SAMPLES is enabled with any of the sample > modules enabled, they are only built if the make command > includes uImage and modules (i.e. make uImage modules). With the current location samples are built when you build

[RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Jim Baxter
If CONFIG_SAMPLES is enabled with any of the sample modules enabled, they are only built if the make command includes uImage and modules (i.e. make uImage modules). This patches allows the kernel and modules to be built separately, this is how openembedded and yocto build the kernel.

[RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Jim Baxter
If CONFIG_SAMPLES is enabled with any of the sample modules enabled, they are only built if the make command includes uImage and modules (i.e. make uImage modules). This patches allows the kernel and modules to be built separately, this is how openembedded and yocto build the kernel.

Re: [RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Sam Ravnborg
On Tue, Jul 16, 2013 at 07:29:50PM +0100, Jim Baxter wrote: If CONFIG_SAMPLES is enabled with any of the sample modules enabled, they are only built if the make command includes uImage and modules (i.e. make uImage modules). With the current location samples are built when you build vmlinux.

Re: [RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Jim Baxter
On 16/07/13 20:37, Sam Ravnborg wrote: On Tue, Jul 16, 2013 at 07:29:50PM +0100, Jim Baxter wrote: If CONFIG_SAMPLES is enabled with any of the sample modules enabled, they are only built if the make command includes uImage and modules (i.e. make uImage modules). With the current location