[Tinyos-devel] set TOSMAKE_PATH automatically in contrib
directories
Kevin Klues
klueska at gmail.com
Sun Jan 6 00:54:15 PST 2008
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
More information about the Tinyos-devel
mailing list