]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/intelmote2/.platform
Added functionality for setting the TOS scheduler via flag to ncc. Updated .platform...
[tinyos-2.x.git] / tos / platforms / intelmote2 / .platform
index 023615a267e2fd49d98ebcc80843e93ea1b34b92..e349c3a9ca8469170fd147029b937220db3c2018 100644 (file)
@@ -49,10 +49,10 @@ push ( @includes, qw(
   -nostartfiles
   -fnesc-target=env
   -fnesc-no-debug
-  -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask
 
 );
 
+push @opts, "-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask" if !$with_scheduler_flag;
 push @opts, "-mingw-gcc" if $cygwin;
 
 $ENV{NESC_MACHINE} = "pointer=4,4 float=4,4 double=8,4 long_double=8,4 short=2,2 int=4,4 long=4,4 long_long=8,4 int1248_align=1,2,4,4 wchar_size_size=4,4 char_wchar_signed=false,true";