You can set your tinyos environment to anywhere by changing the
following three environment variables:
        export TOSDIR=/opt/MoteWorks/tos
        export TOSROOT=/opt/MoteWorks
        export MAKERULES=/opt/MoteWorks/make/Makerules

You would have to change these variable paths everytime you switch your
trees.
Giri


________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Jenkins
Sent: Thursday, July 19, 2007 8:33 AM
To: [email protected]
Subject: [Tinyos-help] Make compatability with multiple directories


Hello,
 
I am trying to make it to where I can make applications from multiple
directory trees. Originally, I had moteworks and a tinyos-1.x folders at
the cygwin/opt level, but could only make from the moteworks directory.

 
I reinstalled due to incompatability (updated cygwin and lost make
ability) with a different structure this time, and now I can make from
my tinyos-1.x directory, but I can't in my moteworks. The errors are
very basic, stating that it can't find a rule for the target and that
the env variable MAKERULES doesn't point to anything. 
 
How can I make it to where I can make programs from both locations?
 
Thank you,
Chris

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to