]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/tinynode.target
Merge devel code into the trunk.
[tinyos-2.x.git] / support / make / tinynode.target
diff --git a/support/make/tinynode.target b/support/make/tinynode.target
new file mode 100644 (file)
index 0000000..6253b3a
--- /dev/null
@@ -0,0 +1,31 @@
+#-*-Makefile-*- 
+#$Id$
+
+PLATFORM = tinynode
+
+ifndef TOSDIR
+TOSDIR := $(shell ncc -print-tosdir)
+endif
+
+ifndef TOS_BETADIR
+TOS_BETADIR := $(TOSDIR)/../beta/tos
+endif
+
+MSP_BSL ?= tos-bsl
+
+OPTFLAGS += -Os
+#OPTFLAGS = 
+
+# Disable MSP430 hardware multiply because it makes MSPGCC die
+PFLAGS += -mdisable-hwmul
+PFLAGS += -mstrict-align
+
+PFLAGS += \
+-I$(TOS_BETADIR)/platforms/tinynode
+
+$(call TOSMake_include_platform,tinynode)
+$(call TOSMake_include_platform,msp)
+
+tinynode: $(BUILD_DEPS)
+       @:
+