[Tinyos-devel] set TOSMAKE_PATH automatically in contrib directories

Jó Ágila Bitsch Link jo.bitsch at cs.rwth-aachen.de
Fri Jan 4 12:11:39 PST 2008


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ó
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080104/374539fd/attachment.htm


More information about the Tinyos-devel mailing list