Merge pull request #610 from nfi/mspsim-auto-compile
Autocompile MSPSim and warn if submodule is not initialized.
This commit is contained in:
commit
d387f27a65
|
@ -188,7 +188,15 @@ else
|
||||||
$(OBJCOPY) $^ -O ihex $@
|
$(OBJCOPY) $^ -O ihex $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.mspsim: %.${TARGET}
|
$(CONTIKI)/tools/mspsim/build.xml:
|
||||||
|
@echo '----------------'
|
||||||
|
@echo 'Could not find the MSPSim build file. Did you run "git submodule update --init"?'
|
||||||
|
@echo '----------------'
|
||||||
|
|
||||||
|
$(CONTIKI)/tools/mspsim/mspsim.jar: $(CONTIKI)/tools/mspsim/build.xml
|
||||||
|
(cd $(CONTIKI)/tools/mspsim && ant jar)
|
||||||
|
|
||||||
|
%.mspsim: %.${TARGET} ${CONTIKI}/tools/mspsim/mspsim.jar
|
||||||
java -jar ${CONTIKI}/tools/mspsim/mspsim.jar -platform=${TARGET} $<
|
java -jar ${CONTIKI}/tools/mspsim/mspsim.jar -platform=${TARGET} $<
|
||||||
|
|
||||||
mspsim-maptable: contiki-${TARGET}.map
|
mspsim-maptable: contiki-${TARGET}.map
|
||||||
|
|
Loading…
Reference in a new issue