--- /dev/null
+#-*-Makefile-*- vim:syntax=make
+
+#
+# To install OpenOCD, see the following wiki page:
+# http://docs.tinyos.net/index.php/OpenOCD_for_IMote2
+#
+
+PROGRAM = imote2-ocd-program.py
+
+PROGRAMMER ?= $(TOSROOT)/tools/platforms/intelmote2/openocd/imote2-ocd-program.py
+
+program: FORCE
+ @echo " installing $(PLATFORM) binary using $(PROGRAM)"
+ $(PROGRAMMER) $(INSTALL_BIN)
+
+program_input: bin
+ @:
+
PXA27X_JTAG_DEV ?= "JTAG CPU"
program: FORCE
- @echo " installing $(PLATFORM) binary using $(PROGRAM) with the $(PXA27X_JTAG_DEV)"
+ @echo " installing $(PLATFORM) binary using $(PROGRAM)"
$(PROGRAMMER) $(PROGRAMMER_FLAGS) -tt $(PXA27X_JTAG_DEV) $(INSTALL_BIN)
program_input: bin