From: sallai Date: Wed, 21 Jan 2009 16:26:55 +0000 (+0000) Subject: fix issue with opening files in the app directory X-Git-Tag: rc_6_tinyos_2_1_1~519 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=f47b008db5c656c9c96eb41632b74e8be6ab0241 fix issue with opening files in the app directory --- diff --git a/support/make/avr/avr-studio-debug.extra b/support/make/avr/avr-studio-debug.extra index e5fd6d93..e77ed8d1 100644 --- a/support/make/avr/avr-studio-debug.extra +++ b/support/make/avr/avr-studio-debug.extra @@ -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)