[Tinyos-devel] set TOSMAKE_PATH automatically in contrib directories

Jó Ágila Bitsch Link jo.bitsch at cs.rwth-aachen.de
Sun Jan 6 04:01:38 PST 2008


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080106/2ecf8759/attachment.html


More information about the Tinyos-devel mailing list