[Tinyos-devel] Re: [Tinyos-help] .platform question

John Griessen john at ecosensory.com
Mon Dec 17 10:23:04 PST 2007


Philip Levis wrote:
  It's not very hard
> in a Makefile to
> 
> RCHIPS=/opt/tinyos-2.x/contrib/rincon/tos/chips
> 
> CFLAGS +=$(RCHIPS)/cc2420 $(RCHIPS)/at45db
> 

This way needs details in every Makefile used with a platform app...

> It might make more sense to define a variable in Makerules that derives 
> contrib from TOSDIR/TOSROOT. Application makefiles can override it, etc.

We already specified the platform when calling the compiler.  Some way to find
chip dirs without putting in every platform app Makefile would be better.

Is there a way to consolidate or drop one of these files?
tos/platforms/a_platform/.platform and
a_platform/support/make/a_platform.target

John Griessen

-- 
Ecosensory   Austin TX
tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1



More information about the Tinyos-devel mailing list