Mercurial > hg > beaglert
comparison Makefile @ 399:ff60102d5f39 prerelease
Merge
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 15 Jun 2016 01:34:29 +0100 |
parents | 5848f5c8bc39 db1714fe2814 |
children | adb4fafbeaef |
comparison
equal
deleted
inserted
replaced
398:8a7c35ee8b3f | 399:ff60102d5f39 |
---|---|
48 RUN_COMMAND?=$(OUTPUT_FILE) $(COMMAND_LINE_OPTIONS) | 48 RUN_COMMAND?=$(OUTPUT_FILE) $(COMMAND_LINE_OPTIONS) |
49 RUN_IDE_COMMAND?=stdbuf -i0 -o0 -e0 $(RUN_COMMAND) | 49 RUN_IDE_COMMAND?=stdbuf -i0 -o0 -e0 $(RUN_COMMAND) |
50 BELA_STARTUP_SCRIPT?=/root/BeagleRT_startup.sh | 50 BELA_STARTUP_SCRIPT?=/root/BeagleRT_startup.sh |
51 BELA_AUDIO_THREAD_NAME?=bela-audio | 51 BELA_AUDIO_THREAD_NAME?=bela-audio |
52 SCREEN_NAME?=Bela | 52 SCREEN_NAME?=Bela |
53 BELA_IDE_STARTUP_SCRIPT?=/root/BeagleRT_node.sh | 53 BELA_IDE_STARTUP_SCRIPT?=/root/Bela_node.sh |
54 BELA_IDE_HOME?=/root/Bela/IDE | 54 BELA_IDE_HOME?=/root/Bela/IDE |
55 BELA_IDE_SCREEN_NAME?=Bela-IDE | 55 BELA_IDE_SCREEN_NAME?=Bela-IDE |
56 BELA_IDE_RUN_COMMAND?=cd $(BELA_IDE_HOME) && screen -S $(BELA_IDE_SCREEN_NAME) -d -m node index.js | 56 BELA_IDE_RUN_COMMAND?=cd $(BELA_IDE_HOME) && screen -S $(BELA_IDE_SCREEN_NAME) -d -m node index.js |
57 BELA_IDE_STOP_COMMAND?=screen -X -S $(BELA_IDE_SCREEN_NAME) quit > /dev/null | 57 BELA_IDE_STOP_COMMAND?=screen -X -S $(BELA_IDE_SCREEN_NAME) quit > /dev/null |
58 | 58 |
249 @cat /tmp/belafifo | 249 @cat /tmp/belafifo |
250 | 250 |
251 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" | 251 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" |
252 nostartup: ## No Bela project runs at startup | 252 nostartup: ## No Bela project runs at startup |
253 nostartup: | 253 nostartup: |
254 @echo "Disabling BeagleRT at startup..." | 254 @echo "Disabling Bela at startup..." |
255 @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) | 255 @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) |
256 | 256 |
257 startuploop: ## Makes PROJECT run at startup and restarts it if it crashes | 257 startuploop: ## Makes PROJECT run at startup and restarts it if it crashes |
258 startuploop: Bela | 258 startuploop: Bela |
259 @echo "Enabling Bela at startup in a loop..." | 259 @echo "Enabling Bela at startup in a loop..." |
276 @echo TODO | 276 @echo TODO |
277 @exit 1 | 277 @exit 1 |
278 | 278 |
279 BELA_IDE_STARTUP_COMMAND=printf "\#!/bin/sh\n\#\n\# This file is autogenerated by Bela. Do not edit!\n\necho Running the Bela IDE...\n$(BELA_IDE_RUN_COMMAND)\n" > $(BELA_IDE_STARTUP_SCRIPT) | 279 BELA_IDE_STARTUP_COMMAND=printf "\#!/bin/sh\n\#\n\# This file is autogenerated by Bela. Do not edit!\n\necho Running the Bela IDE...\n$(BELA_IDE_RUN_COMMAND)\n" > $(BELA_IDE_STARTUP_SCRIPT) |
280 | 280 |
281 iderunup: ## Enables the IDE at startup | 281 idestartup: ## Enables the IDE at startup |
282 @echo "Enabling the IDE at startup" | 282 @echo "Enabling the IDE at startup" |
283 $(BELA_IDE_STARTUP_COMMAND) | 283 $(BELA_IDE_STARTUP_COMMAND) |
284 @chmod +x $(BELA_IDE_STARTUP_SCRIPT) | 284 @chmod +x $(BELA_IDE_STARTUP_SCRIPT) |
285 | 285 |
286 idenostartup: ## Disables the IDE at startup | 286 idenostartup: ## Disables the IDE at startup |