]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/tos_image.extra
Merge devel code into the trunk.
[tinyos-2.x.git] / support / make / tos_image.extra
diff --git a/support/make/tos_image.extra b/support/make/tos_image.extra
new file mode 100644 (file)
index 0000000..b058ccf
--- /dev/null
@@ -0,0 +1,9 @@
+#-*-Makefile-*- vim:syntax=make
+#$Id$
+
+TOS_IMAGE_PL ?= tos-write-image
+IDENT_PROGRAM_NAME ?= $(COMPONENT)
+
+build_tosimage: FORCE
+       @echo "    writing TOS image"
+       @$(TOS_IMAGE_PL) $(IDENT_FLAGS) --ihex="$(MAIN_IHEX)" --exe="$(MAIN_EXE)" --objdump="$(OBJDUMP)" > $(BUILDDIR)/tos_image.xml