> -----Original Message-----
> From: Andrzej Odyniec [mailto:anody@...]
> Sent: Friday, January 15, 2010 8:35 AM
> To: devil-linux-develop@...
> Subject: Re: [Devil-linux-develop] no more insserv in build system
> Heiko Zuerker wrote:
> > 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
> > scripts are at the end anyway,
> > What other places would we have where we may need to insert stuff?
> There is another problem now.
> We must include Makefile.*.custom (via Makefile.inc ofcourse) for two
> 1. for define variables GROUP_CUSTOM and GROUP_CUSTOM_BEFORE_KERNEL
> 2. for define additional "custom" targets and dependences
> (1.) should be done before "all" target definition in main Makefile.*
> (2.) should be done AFTER "all" target definition in mail Makefile.* or
> target definition in Makefile.*.custom becomes DEFAULT target and will
> only it and its dependencies... not more
> There is rule, that first defined target is default target.
> We can:
> (a) define "all" target again on begin of Makefile.*.custom as is
> defined in
> (b) divide Makefile.*.custom into two parts (with variable definitions
> with targets definitions) and include this second part after "all"
> definition in Makefile.*
> (c) transfer explicite given target to second level make (i.e. via
> this solution is possibility to explicite give particular target other
> "all" in time of experimental build
Sorry for the late response, I was out on vacation.
I don't think I understand your request, could you please try to explain?