On Mon, Oct 18, 2004 at 05:10:10PM -0500, Brian Elliott Finley wrote:
> Dann,
> 
> Can you take a look at this vs. the "PHONY += thing" bit in the initrd.rul
> file?  
> 
> $ tail -2 initrd.rul
> .PHONY: all build_dir install get_source help helpless clean distclean \
>    $(subst .rul,,$(shell cd make.d && ls *.rul)) uclibc_dev
> 
> 
> Is the .PHONY here going to override the master .PHONY?

I don't think so - I often see PHONY used this way (including the linux
kernel).  Targets are normally declared PHONY before they are used, but
the make manual has a counterexample that justifies our usage.
> 
> And a seperate question is, do we want this initrd.rul to be outside
> make.d?  

I think its location in the hierarchy makes sense; though I also think it is
somewhat strange that we treat it differently than stuff like boel_binaries.
It'd make sense to me if we moved boel_binaries down a level - maybe put a
boel.rul and a initrd.rul in the toplevel make.d, and move the current make.d
stuff down a level.  Though, I'd prefer to wait till we move to subversion
before making big architectual changes - otherwise we lose our history (like we
did with the <cmd> -> si_<cmd> transition).

> Were you planning on making it it's own self containable make
> system at some point?

There's various interdependencies that make this less than trivial - uclibc's
dependency on a kernel source tree is the obvious example.  It could be done
by splitting out the kernel stuff into its own build system and having the
various pieces that need it own making sure its done, but no obvious benefits
jump out at me - right now we can be sure that the kernel will only be
extracted and patched once, and not until it needs to be.

I'd like to see us be able to have more recursive make stuff, where the 
components are more standalone (like how the docs work today), but we'll need
a way to remove these dependencies first; otherwise we're just pretending :)


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to