]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/avr/avr.rules
Fix a typo in the previous commit.
[tinyos-2.x.git] / support / make / avr / avr.rules
index dfbbcb10bab9ff0d5bbd7b0ea4fdf1ee80eefde6..5cdd492dd9112fd08f058f1e833a091f2738b0e5 100644 (file)
@@ -36,7 +36,11 @@ NCC = ncc
 LIBS = -lm
 
 # Use __ as the separator - requires nesC 1.2.9 or later
-PFLAGS += -fnesc-separator=__
+ifneq ($(filter sim,$(GOALS)),sim)
+ifneq ($(filter sim-sf,$(GOALS)),sim-sf)
+       PFLAGS += -fnesc-separator=__
+endif
+endif
 AMADDR = ActiveMessageAddressC__addr
 BUILDDIR ?= build/$(PLATFORM)
 MAIN_EXE = $(BUILDDIR)/main.exe
@@ -141,7 +145,7 @@ ifdef WIRING_CHECK_FILE
 endif
 ifdef STACK_CHECK
        @echo
-       @tos-ramsize $(PLATFORM) $(MAIN_EXE)
+       @-tos-ramsize $(PLATFORM) $(MAIN_EXE)
        @echo
 endif
        @echo "    compiled $(COMPONENT) to $(MAIN_EXE)"