On Wed, 16 Oct 2002, Ken Yap wrote:
> >What I would like to do is create a setup where I can have multiple
> >Config files and each Config file would have it's own seperate bin
> >directory.
> >The easiest way I can think to do that right now is:
> >1) reverse the includes and have Config include Makefile
> > so we can be flexible about the name.
> >2) Have a variable in Config that specifies the bin directory,
> > or the directory the bin directory lives in.
> >3) Have a variable in Config that specifies where the Etherboot
> > source tree lives.
> >Being able to do:
> >make -f Config-lnxi blah
> >make -f Config-lnxi-lb blah
> >And generate all of the romimages I need would be very nice
> >when I am generating a binary rpm with all of the romimages I need.
> >And it would make compile testing with different Config easy
> >as well.
> Sounds good, do you want to do it?
One small request: please have Config include Makefile.inc (or something
similar) and have a Makefile that just contains:
% : force
@$(MAKE) -f Config $@
force : ;
This is so that it's still possible to just type "make" and get something
built. It's a "beginner-friendly" thing; we probably don't want to put
off new developers by breaking the standard build procedure.
Michael
|