Hallo together,

here comes perhaps a quit simple question.
Currently I am working with tinyos-2.1.0. Here you can find under 
/apps/BaseStation the basic files to setup a new basestation. Due to our normal 
project we need a different message-length than default to be used.

we just added in the Makefile which can be found inthe above mentioned folder 
the following line:

CFLAGS += -DTOSH_DATA_LENGTH = 102

In the next step we install the BaseStation with the following command:

make iris install mib510./dev/ttyUSB0

Everthing runs as expected and works fine.

Now the QUESTION:
Is it possible to add the CFLAGS in the command line when send the 
make-command? Idea: the basic apps defined by tinyos do not need to be changed 
in Makefiles.
So I am looking something like the following command:

make iris install "CFLAGS += -DTOSH_DATA_LENGTH=102" mib510./dev/ttyUSB0

Can anyone help me or send me the comand I am looking for?

Thanks a lot,
Conny
-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to