Added CMOTES variable to make energy estimation demo scripts nicer
This commit is contained in:
parent
366d845336
commit
912d2f2856
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,9 @@ ifdef OS
|
||||||
MOTES = $(shell $(MOTELIST) | grep COM | \
|
MOTES = $(shell $(MOTELIST) | grep COM | \
|
||||||
cut -f 4 -d \ | \
|
cut -f 4 -d \ | \
|
||||||
perl -ne 'print $$1 - 1 . " " if(/COM(\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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -19,6 +22,7 @@ ifndef MOTELIST
|
||||||
MOTES = $(shell $(MOTELIST) | grep USB | \
|
MOTES = $(shell $(MOTELIST) | grep USB | \
|
||||||
cut -f 4 -d \ | \
|
cut -f 4 -d \ | \
|
||||||
perl -ne 'print $$1 . " " if(m-(/dev/\w+)-);')
|
perl -ne 'print $$1 . " " if(m-(/dev/\w+)-);')
|
||||||
|
CMOTES=$(MOTES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
sky-motelist:
|
sky-motelist:
|
||||||
|
|
Loading…
Reference in a new issue