mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Get rid of generc ihex-file to allow parallel uploads
This commit is contained in:
parent
7213d36d63
commit
79aa5dbc01
@ -34,7 +34,6 @@ LDFLAGS += $(LDFLAGSNO) -Felf -yn
|
|||||||
endif # IAR
|
endif # IAR
|
||||||
|
|
||||||
NUMPAR=20
|
NUMPAR=20
|
||||||
IHEXFILE=tmpimage.ihex
|
|
||||||
|
|
||||||
# Check if we are running under Windows
|
# Check if we are running under Windows
|
||||||
ifeq ($(HOST_OS),Windows)
|
ifeq ($(HOST_OS),Windows)
|
||||||
@ -118,20 +117,17 @@ sky-motes:
|
|||||||
|
|
||||||
ifdef MOTE
|
ifdef MOTE
|
||||||
%.upload: %.ihex
|
%.upload: %.ihex
|
||||||
cp $< $(IHEXFILE)
|
$(MAKE) IHEXFILE=$< sky-u.$(subst /,_,$(word $(MOTE), $(MOTES)))
|
||||||
$(MAKE) sky-u.$(subst /,_,$(word $(MOTE), $(MOTES)))
|
|
||||||
else # MOTE
|
else # MOTE
|
||||||
%.upload: %.ihex
|
%.upload: %.ihex
|
||||||
cp $< $(IHEXFILE)
|
$(MAKE) IHEXFILE=$< sky-reset sky-upload
|
||||||
$(MAKE) sky-reset sky-upload
|
|
||||||
endif # MOTE
|
endif # MOTE
|
||||||
|
|
||||||
upload-ihex:
|
upload-ihex:
|
||||||
ifdef FILE
|
ifdef FILE
|
||||||
@echo Uploading $(FILE)
|
@echo Uploading $(FILE)
|
||||||
cp $(FILE) $(IHEXFILE)
|
|
||||||
ifdef MOTE
|
ifdef MOTE
|
||||||
$(MAKE) sky-u.$(subst /,_,$(word $(MOTE), $(MOTES)))
|
$(MAKE) IHEXFILE=$(FILE) sky-u.$(subst /,_,$(word $(MOTE), $(MOTES)))
|
||||||
else # MOTE
|
else # MOTE
|
||||||
$(MAKE) sky-reset sky-upload
|
$(MAKE) sky-reset sky-upload
|
||||||
endif # MOTE
|
endif # MOTE
|
||||||
|
Loading…
Reference in New Issue
Block a user