]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/avr/avr.rules
Allow the build directory to be customized
[tinyos-2.x.git] / support / make / avr / avr.rules
index f9230bb2d3b7cd5a48e923ce135ad14509dfeb1d..7d18ede8be90f8378dd6bcb46ca4a6cc31edf9ca 100644 (file)
@@ -41,7 +41,7 @@ AMADDR = ActiveMessageAddressC\$$addr
 # patch. This needs nesc 1.2.8 or newer (1.2.9 is recommended).
 #PFLAGS += -fnesc-separator=__
 #AMADDR = ActiveMessageAddressC__addr
-BUILDDIR = build/$(PLATFORM)
+BUILDDIR ?= build/$(PLATFORM)
 MAIN_EXE = $(BUILDDIR)/main.exe
 MAIN_SREC = $(BUILDDIR)/main.srec
 MAIN_IHEX = $(BUILDDIR)/main.ihex