Mercurial > hg > beaglert
comparison Makefile @ 344:1c35a5d0ce32 prerelease
Fixed make nostartup
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 07 Jun 2016 02:06:49 +0100 |
parents | ff98d79abf49 |
children | 58742af56d37 |
comparison
equal
deleted
inserted
replaced
343:4823ee13bcac | 344:1c35a5d0ce32 |
---|---|
214 | 214 |
215 STARTUP_COMMAND=printf "\#!/bin/sh\n\#\n\# This file is autogenerated by Bela. Do not edit!\n\necho Running Bela...\nscreen -S $(SCREEN_NAME) -d -m %s $(RUN_COMMAND) %s\n" | 215 STARTUP_COMMAND=printf "\#!/bin/sh\n\#\n\# This file is autogenerated by Bela. Do not edit!\n\necho Running Bela...\nscreen -S $(SCREEN_NAME) -d -m %s $(RUN_COMMAND) %s\n" |
216 nostartup: ## No Bela project runs at startup | 216 nostartup: ## No Bela project runs at startup |
217 nostartup: | 217 nostartup: |
218 @echo "Disabling BeagleRT at startup..." | 218 @echo "Disabling BeagleRT at startup..." |
219 @printf "#!/bin/sh\n#\n\n# This file is autogenerated by Bela. Do not edit!\n\n# Run on startup disabled -- nothing to do here" > $BELA_STARTUP_SCRIPT | 219 @printf "#!/bin/sh\n#\n\n# This file is autogenerated by Bela. Do not edit!\n\n# Run on startup disabled -- nothing to do here\n" > $(BELA_STARTUP_SCRIPT) |
220 | 220 |
221 startuploop: ## Makes PROJECT run at startup and restarts it if it crashes | 221 startuploop: ## Makes PROJECT run at startup and restarts it if it crashes |
222 startuploop: Bela | 222 startuploop: Bela |
223 @echo "Enabling Bela at startup in a loop..." | 223 @echo "Enabling Bela at startup in a loop..." |
224 @$(STARTUP_COMMAND) 'bash -c "while sleep 0.5 ; do echo Running Bela...;' '; done"' > $(BELA_STARTUP_SCRIPT) | 224 @$(STARTUP_COMMAND) 'bash -c "while sleep 0.5 ; do echo Running Bela...;' '; done"' > $(BELA_STARTUP_SCRIPT) |