[Tinyos-devel] set TOSMAKE_PATH automatically in contrib
directories
Kevin Klues
klueska at gmail.com
Sun Jan 6 11:06:44 PST 2008
Since the makelocal file is something you create yourself its not
soemthing that should be part of TinyOS by default. Instead, someone
should start a wiki page on suggested material to put into the
Makelocal file and list this as one of the things. People can then
choose to include it in their makelocal file or not, based on if they
use the contrib stuff or not.
Kevin
On Jan 6, 2008 4:01 AM, Jó Ágila Bitsch Link
<jo.bitsch at cs.rwth-aachen.de> wrote:
> You're right, that is indeed a better place.
> --Jó
>
>
>
> On Jan 6, 2008 9:54 AM, Kevin Klues <klueska at gmail.com> wrote:
> > The proper place for this isn't directly in the Makerules file, but
> > rather in the Makelocal file you can create yourself and put anywhere
> > you want by defining the path to it in the TINYOS_MAKELOCAL
> > environment variable.
> >
> > Kevin
> >
> > On Jan 4, 2008 12:11 PM, Jó Ágila Bitsch Link
> >
> >
> >
> > <jo.bitsch at cs.rwth-aachen.de> wrote:
> > > Hi guys,
> > > I have a suggestion to make work in contrib directories easier:
> > > if one would add the following in line 51 of
> > > tinyos-2.x/support/make/Makerules:
> > >
> > > TOSMAKE_PATH += $(wildcard $(shell pwd | perl -pe
> > > 's/(.*)\/apps\/.*/\1/')/support/make)
> > >
> > > the *.target and *.extra files in the contrib directory one is working
> in
> > > would automatically be included as needed by Makerules, so that a
> developer
> > > does not need to add sth like:
> > >
> > > TOSMAKE_PATH += ../../support/make
> > >
> > > in all the application Makefiles or change environment variables every
> time
> > > s/he is switching between different contrib directories...
> > >
> > > Cheers!
> > > Jó
> > >
> > > _______________________________________________
> > > Tinyos-devel mailing list
> > > Tinyos-devel at millennium.berkeley.edu
> > >
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
> > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
>
>
--
~Kevin
More information about the Tinyos-devel
mailing list