[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/tos/platform/telosb .platform, NONE, 1.1

steve ayer ayer1 at users.sourceforge.net
Thu Aug 3 12:45:02 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/platform/telosb
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv29771

Added Files:
	.platform 
Log Message:

ooops, * doesn't cover .platform


--- NEW FILE: .platform ---
#$Id: .platform,v 1.1 2006/08/03 19:45:00 ayer1 Exp $

# Includes that should take precedence come first.  Platforms come before
# chips because they may override files.  These must be specified as
# @includes instead of -I's to @opts, otherwise the %T won't be processed
# by ncc.  And because of that, the current platform's include directory
# must be specified, otherwise its search order is last instead of first.

push( @includes, qw(

  %T/platform/telosb
  %T/platform/telos
  %T/platform/msp430
  %T/lib/Flash/STM25P
  %T/lib/Flash

) );

@opts = ("-gcc=msp430-gcc",
         "-mmcu=msp430x1611",
         "-fnesc-target=msp430",
         "-fnesc-no-debug");

push @opts, "-mingw-gcc" if $cygwin;

# Including -I's here like this means that the make system can't override them.
# This is why it's bad to secretly stuff build logic in a place like .platform.
#push @opts, "-I$TOSDIR/lib/Flash";
#push @opts, "-I$TOSDIR/lib/Flash/STM25P";




More information about the Tinyos-contrib-commits mailing list