On Sun, 3 Feb 2008, [EMAIL PROTECTED] wrote:

>
> > so as a start, you can use, say, OUTPUT_DIR as the absolutely
> > top-level output location (defaulting to $(TOPDIR) if you
> > want).  and further, each and every build *must* have a
> > BUILD_ID (which could have a default name of, well, "default"
> > or something).  at that point, building is easy, and cleaning
> > is just as easy.
>
> ... executing make BUILD_BASE=/my/unique/path should put the
> complete output into the specified dir. That's why within this patch
> the BUILD_BASE is added to the bin and staging dir too. Is this what
> you mean?

actually, yes, but in your patch, you have:

+BUILD_BASE:=$(TOPDIR)

shouldn't that be

+BUILD_BASE?=$(TOPDIR)

to allow overriding from the command line?  i always use "?=" to
designate that sort of thing, just to make it clear to anyone reading
the script.

rday
--


========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

Home page:                                         http://crashcourse.ca
Fedora Cookbook:    http://crashcourse.ca/wiki/index.php/Fedora_Cookbook
========================================================================
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to