Hello,
On vanilla Ubuntu 10.{4,10} with current TinyOS from the Stanford apt
repository, I noticed that 'make telosb' failed on the Null
application; it picked up a value of "Linux" for $(PLATFORM). Here's
why:
$ grep PLATFORM support/make/telosb.target
PLATFORM ?= telosb
... which sets PLATFORM only if it's not already defined. However,
it's already defined:
$ cat /tmp/foo/Makefile
x:
@echo "$(PLATFORM)"
$ make
Linux
The btnode3, epic, telosa, and telosb targets are the only ones that
use the conditional "?=" style of assignment; all the other targets
look like e.g. "PLATFORM = micaz". Assuming this situation is
unintentional, I'm attaching a trivial patch against tinyos-2.x.svn
that fixes those assignments and solved my build problem.
-ben
platform.patch
Description: Binary data
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
