]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
fix issue with opening files in the app directory
authorsallai <sallai>
Wed, 21 Jan 2009 16:26:55 +0000 (16:26 +0000)
committersallai <sallai>
Wed, 21 Jan 2009 16:26:55 +0000 (16:26 +0000)
support/make/avr/avr-studio-debug.extra

index e5fd6d93c58cc0a7a23756465aa77cff9aa24e08..e77ed8d13ada3aa60ac2b9ebf563fafa09a2ca85 100644 (file)
@@ -19,5 +19,5 @@ PFLAGS += -fnesc-separator=__
 
 buildelf: FORCE
        @echo "    building ELF output $(MAIN_ELF) for debugging in AVR Studio"
-       @perl -pe 's/#(.*)\"(.*)\"/ "#$$1\"".`cygpath -m $$2`."\""/e; s/\n\"/\"/;' $(BUILDDIR)/app.c > $(APPC_WINPATH)
+       @perl -pe 's/#(.*)\"(.*)\"/ "#$$1\"".`cygpath -ma $$2`."\""/e; s/\n\"/\"/;' $(BUILDDIR)/app.c > $(APPC_WINPATH)
        @$(NCC) -o $(MAIN_ELF) $(NCC_SAFE_TINYOS_FLAGS) $(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(APPC_WINPATH) $(LIBS) $(LDFLAGS)