Skip to content
Snippets Groups Projects
Unverified Commit 36c804b6 authored by Niclas Finne's avatar Niclas Finne Committed by GitHub
Browse files

Merge pull request #1793 from pjonsson/use-hashbang

Use hashbang in Python scripts
parents 1e02af4c 1196c4eb
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ login: $(SERIAL_DUMP_BIN)
### Targets using tools/motelist
###
CONTIKI_NG_MOTELIST_DIR = $(CONTIKI_NG_TOOLS_DIR)/motelist
CONTIKI_NG_MOTELIST = python $(CONTIKI_NG_MOTELIST_DIR)/motelist.py
CONTIKI_NG_MOTELIST = $(CONTIKI_NG_MOTELIST_DIR)/motelist.py
.PHONY: motelist-all
......
......@@ -180,7 +180,7 @@ LDFLAGS += -Wl,--defsym=_stack_origin=_ram_top
########################################################################
MOTELIST = python $(CONTIKI)/tools/jn516x/mote-list.py
MOTELIST = $(CONTIKI)/tools/jn516x/mote-list.py
# Check if we are running under Windows
ifeq ($(HOST_OS),Windows)
......
......@@ -47,7 +47,7 @@ MODULES += $(CONTIKI_NG_STORAGE_DIR)/cfs
BSL = $(CONTIKI_NG_TOOLS_DIR)/cc2538-bsl/cc2538-bsl.py
MOTES := $(shell python $(CONTIKI_NG_TOOLS_DIR)/motelist/motelist.py --omit-header \
MOTES := $(shell $(CONTIKI_NG_TOOLS_DIR)/motelist/motelist.py --omit-header \
| grep $(MOTELIST_ZOLERTIA) | cut -f1 -d " ")
### If PORT is defined, override to keep backward compatibility
......
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment