]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Switch msp430 platforms to __ as nesC separator instead of $
authorvlahan <vlahan>
Mon, 2 Nov 2009 16:48:04 +0000 (16:48 +0000)
committervlahan <vlahan>
Mon, 2 Nov 2009 16:48:04 +0000 (16:48 +0000)
support/make/msp/msp.rules

index 18d9affd470cb638f741bf53828c7d2e640137ee..5b53463e04e2d9eb7609246e301608ee5663c7b0 100644 (file)
@@ -39,6 +39,11 @@ SET_ID = tos-set-symbols
 NCC = ncc
 LIBS = -lm
 
+# Use __ as the separator - requires nesC 1.2.9 or later
+ifneq ($(filter sim,$(GOALS)),sim)
+        PFLAGS += -fnesc-separator=__
+endif
+
 AMADDR = ActiveMessageAddressC\$$addr
 BUILDDIR ?= build/$(PLATFORM)
 MAIN_EXE = $(BUILDDIR)/main.exe