Re: Quick test building a module cross all targets and architectures

2015-11-03 Thread Hans Petter Selasky
On 10/27/15 17:16, Hans Petter Selasky wrote: On 10/27/15 16:49, John Baldwin wrote: With MAKE_JUST_WORLDS you would only build a "generic" module once per architecture. That savings is likely far more than the cost of the additional tools. I will try it out. Thanks for your hints and

Re: Quick test building a module cross all targets and architectures

2015-11-03 Thread Ian Lepore
On Tue, 2015-11-03 at 13:24 +0100, Hans Petter Selasky wrote: > On 10/27/15 17:16, Hans Petter Selasky wrote: > > On 10/27/15 16:49, John Baldwin wrote: > > > With MAKE_JUST_WORLDS you would only build > > > a "generic" module once per architecture. That savings is likely > > > far > > > more >

Re: Quick test building a module cross all targets and architectures

2015-10-27 Thread Hans Petter Selasky
On 10/26/15 19:03, John Baldwin wrote: On Monday, October 26, 2015 10:11:43 AM Hans Petter Selasky wrote: Hi, We have NO_MODULES for building kernel without modules, but no NO_KERNEL to only build the modules. What do you think about the following patch: diff --git a/sys/conf/kern.post.mk

Re: Quick test building a module cross all targets and architectures

2015-10-27 Thread Hans Petter Selasky
On 10/26/15 19:23, Konstantin Belousov wrote: On Mon, Oct 26, 2015 at 11:03:07AM -0700, John Baldwin wrote: On Monday, October 26, 2015 10:11:43 AM Hans Petter Selasky wrote: Hi, We have NO_MODULES for building kernel without modules, but no NO_KERNEL to only build the modules. What do you

Re: Quick test building a module cross all targets and architectures

2015-10-27 Thread Hans Petter Selasky
On 10/27/15 13:16, Konstantin Belousov wrote: On Tue, Oct 27, 2015 at 10:31:26AM +0100, Hans Petter Selasky wrote: I understand that the compilation environments are different. How would you suggest to build-test a handful of C-files under a single device keyword and associated kernel module

Re: Quick test building a module cross all targets and architectures

2015-10-27 Thread Hans Petter Selasky
On 10/27/15 13:16, Konstantin Belousov wrote: On Tue, Oct 27, 2015 at 10:31:26AM +0100, Hans Petter Selasky wrote: I understand that the compilation environments are different. How would you suggest to build-test a handful of C-files under a single device keyword and associated kernel module

Re: Quick test building a module cross all targets and architectures

2015-10-27 Thread Konstantin Belousov
On Tue, Oct 27, 2015 at 10:31:26AM +0100, Hans Petter Selasky wrote: > I understand that the compilation environments are different. > > How would you suggest to build-test a handful of C-files under a single > device keyword and associated kernel module cross all kernels we have in > a

Re: Quick test building a module cross all targets and architectures

2015-10-27 Thread Ian Lepore
On Tue, 2015-10-27 at 14:00 +0100, Hans Petter Selasky wrote: > On 10/27/15 13:16, Konstantin Belousov wrote: > > On Tue, Oct 27, 2015 at 10:31:26AM +0100, Hans Petter Selasky > > wrote: > > > I understand that the compilation environments are different. > > > > > > How would you suggest to

Re: Quick test building a module cross all targets and architectures

2015-10-27 Thread John Baldwin
On Tuesday, October 27, 2015 10:06:41 AM Hans Petter Selasky wrote: > On 10/26/15 19:03, John Baldwin wrote: > > On Monday, October 26, 2015 10:11:43 AM Hans Petter Selasky wrote: > >> Hi, > >> > >> We have NO_MODULES for building kernel without modules, but no NO_KERNEL > >> to only build the

Re: Quick test building a module cross all targets and architectures

2015-10-27 Thread Hans Petter Selasky
On 10/27/15 16:49, John Baldwin wrote: With MAKE_JUST_WORLDS you would only build a "generic" module once per architecture. That savings is likely far more than the cost of the additional tools. I will try it out. Thanks for your hints and tips. --HPS

Re: Quick test building a module cross all targets and architectures

2015-10-26 Thread Adrian Chadd
+1 to this thankyou! -adrian On 26 October 2015 at 02:11, Hans Petter Selasky wrote: > Hi, > > We have NO_MODULES for building kernel without modules, but no NO_KERNEL to > only build the modules. > > What do you think about the following patch: > >> diff --git

Re: Quick test building a module cross all targets and architectures

2015-10-26 Thread Adrian Chadd
On 26 October 2015 at 11:23, Konstantin Belousov wrote: > On Mon, Oct 26, 2015 at 11:03:07AM -0700, John Baldwin wrote: >> On Monday, October 26, 2015 10:11:43 AM Hans Petter Selasky wrote: >> > Hi, >> > >> > We have NO_MODULES for building kernel without modules, but no

Re: Quick test building a module cross all targets and architectures

2015-10-26 Thread John Baldwin
On Monday, October 26, 2015 10:11:43 AM Hans Petter Selasky wrote: > Hi, > > We have NO_MODULES for building kernel without modules, but no NO_KERNEL > to only build the modules. > > What do you think about the following patch: > > > diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk >

Re: Quick test building a module cross all targets and architectures

2015-10-26 Thread Konstantin Belousov
On Mon, Oct 26, 2015 at 11:03:07AM -0700, John Baldwin wrote: > On Monday, October 26, 2015 10:11:43 AM Hans Petter Selasky wrote: > > Hi, > > > > We have NO_MODULES for building kernel without modules, but no NO_KERNEL > > to only build the modules. > > > > What do you think about the