From d8d2119b41318d9377d8a052ab78cb8b148c7c9c Mon Sep 17 00:00:00 2001 From: razvanm Date: Fri, 21 Aug 2009 05:33:19 +0000 Subject: [PATCH] Don't use the "__" for TOSSIM. This re-enables the inspection of variables. --- support/make/avr/avr.rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/support/make/avr/avr.rules b/support/make/avr/avr.rules index feba047c..7424b840 100644 --- a/support/make/avr/avr.rules +++ b/support/make/avr/avr.rules @@ -36,7 +36,9 @@ NCC = ncc LIBS = -lm # Use __ as the separator - requires nesC 1.2.9 or later -PFLAGS += -fnesc-separator=__ +ifneq ($(filter sim,$(GOALS)),sim) + PFLAGS += -fnesc-separator=__ +endif AMADDR = ActiveMessageAddressC__addr BUILDDIR ?= build/$(PLATFORM) MAIN_EXE = $(BUILDDIR)/main.exe -- 2.39.2