|
From: Heiko Z. <he...@zu...> - 2010-01-06 14:59:10
|
> -----Original Message----- > From: Andrzej Odyniec [mailto:an...@ma...] > Sent: Wednesday, January 06, 2010 8:39 AM > To: dev...@li... > Subject: Re: [Devil-linux-develop] no more insserv in build system > > Heiko Zuerker wrote: > > How about something like this: > > We add an additional include line to the Makefiles: > > Makefile.<phase>.custom -> Makefile.build.custom , > Makefile.install.custom > > > > Then you can have your own custom Makefiles, which you just have to > copy in > > there. > > > > You would only have to specify the dependencies within your own > custom > > scripts: > > script1: | script2 script3 > > script2: | script5 > > > > Let me try adding that functionality to the Makefiles. > > Heiko, > > As for me -- perfect. > > Theoretical question: What, if one of custom scripts will need do > something > earlier. i.e. experimental patch of kernel before kernel compilation? > And > other need compiled kernel. > > I'm probably caviling. Good question. Right now this would required patching the main makefiles, not sure how we can do this better. Maybe we need to add some additional special groups, something like GROUP_CUSTOM_PRE_KERNEL. We won't need a post-kernel, since the custom scripts are at the end anyway, What other places would we have where we may need to insert stuff? Heiko |