Added CMOTES variable to make energy estimation demo scripts nicer

This commit is contained in:
adamdunkels 2007-11-06 19:56:27 +00:00
parent 366d845336
commit 912d2f2856

View File

@ -9,6 +9,9 @@ ifdef OS
MOTES = $(shell $(MOTELIST) | grep COM | \
cut -f 4 -d \ | \
perl -ne 'print $$1 - 1 . " " if(/COM(\d+)/);')
CMOTES = $(shell $(MOTELIST) | grep COM | \
cut -f 4 -d \ | \
perl -ne 'print $$1 . " " if(/COM(\d+)/);')
endif
endif
@ -19,6 +22,7 @@ ifndef MOTELIST
MOTES = $(shell $(MOTELIST) | grep USB | \
cut -f 4 -d \ | \
perl -ne 'print $$1 . " " if(m-(/dev/\w+)-);')
CMOTES=$(MOTES)
endif
sky-motelist: