Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62741

Re: why is the build so complex ?

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel
Subject Re: why is the build so complex ?
Date 2018-12-15 16:40 +0100
Message-ID <x5kcN-66A-1@gated-at.bofh.it> (permalink)
References <x4VxM-8jG-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, 2018-12-14 at 14:13 +0100, Enrico Weigelt, metux IT consult wrote:
> Hi folks,
> 
> 
> while trying to build a debian kernel w/ some minor config changes
> (actually, just need the gpio keyboard modules), I've stumpled across
> several strange problems and finally found out that the patches
> haven't been applied on the main tree (in contrast to rt tree) .. this
> ate up a lot of time, as the build takes so long (unfortunately, I don't
> have the luxory of possessing a 120 core machine ;-)).

There is a script to do what you want, debian/bin/test-patches.

> When I look at the build rules, I really wonder why it's all so complex.
> 
> Some things that IMHO contribute to that complexity:
> 
> * several source trees - rt vs none:
>   --> can't we do this with one tree ?
>   --> if necessary, fixup the rt patches, so they don't do anything in
>       non-rt build (eg. proper #ifdef's) ?

That would be a huge amount of work to maintain.

> * arch specific patches - same story like rt

There aren't arch-specific patches - that is, they aren't applied only
when building a particular arch.

> * auxillary tools
>   --> can't we build them completely separately ?
>       (IMHO, shouldn't have an hard dependency on currently running
>       kernel)

They can be disabled with the "pkg.linux.notools" profile.

> If it's just a matter of resources, I'd like to join in and do the job.

If you want to help simplify - and I'm sure some simplification is
possible - you have to start by understanding why the complexity is
there in the first place.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.


Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

why is the build so complex ? "Enrico Weigelt, metux IT consult" <lkml@metux.net> - 2018-12-14 14:20 +0100
  Re: why is the build so complex ? Bjørn Mork <bjorn@mork.no> - 2018-12-14 15:10 +0100
  Re: why is the build so complex ? Yves-Alexis Perez <corsac@debian.org> - 2018-12-14 16:00 +0100
  Re: [devuan-dev] why is the build so complex ? Nico Schottelius <nico.schottelius@ungleich.ch> - 2018-12-14 22:20 +0100
  Re: why is the build so complex ? Ben Hutchings <ben@decadent.org.uk> - 2018-12-15 16:40 +0100
    Re: why is the build so complex ? "Enrico Weigelt, metux IT consult" <lkml@metux.net> - 2018-12-17 13:20 +0100
      Re: why is the build so complex ? Ben Hutchings <ben@decadent.org.uk> - 2018-12-17 16:30 +0100

csiph-web