[Tinyos-commits] CVS: tinyos-1.x/tools/make deluge.extra, NONE, 1.1 redeluge.extra, NONE, 1.1

Cory Sharp cssharp at users.sourceforge.net
Sun Jun 19 02:47:47 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/tools/make
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29509

Added Files:
	deluge.extra redeluge.extra 
Log Message:
deluge and redeluge extra's similar to install and reinstall except the image
is injected then rebooted over a network using Deluge.  The option to the extra
is the deluge slot to program to.  So for instance:

    make telosb deluge,1

will compile the application for telosb, inject it to slot 1, then reboot to
slot 1.  And

    make telosb redeluge,1

skips the compile stage.



--- NEW FILE: deluge.extra ---
#-*-Makefile-*- vim:syntax=make
#$Id: deluge.extra,v 1.1 2005/06/19 09:47:45 cssharp Exp $

PROGRAM = deluge
BUILD_DEPS = tosimage $(POST_BUILD_EXTRA_DEPS) bytes program 

ifndef DELUGE
$(error No Deluge image number specified)
endif

program: FORCE
	java net.tinyos.deluge.Deluge -f -i -in=$(DELUGE) -ti=$(BUILDDIR)/tos_image.xml
	java net.tinyos.deluge.Deluge -f -r -in=$(DELUGE)


--- NEW FILE: redeluge.extra ---
#-*-Makefile-*- vim:syntax=make
#$Id: redeluge.extra,v 1.1 2005/06/19 09:47:45 cssharp Exp $

PROGRAM = deluge
BUILD_DEPS = program

ifndef REDELUGE
$(error No Deluge image number specified)
endif

program: FORCE
	java net.tinyos.deluge.Deluge -f -i -in=$(REDELUGE) -ti=$(BUILDDIR)/tos_image.xml
	java net.tinyos.deluge.Deluge -f -r -in=$(REDELUGE)




More information about the Tinyos-commits mailing list