File: use-yotta-command-in-makefile

package info (click to toggle)
firmware-microbit-micropython 1.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 25,448 kB
  • sloc: ansic: 83,496; cpp: 27,664; python: 2,475; asm: 274; makefile: 245; javascript: 41; sh: 25
file content (36 lines) | stat: -rw-r--r-- 816 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: Specify the full yotta command in the Makefile
 On Debian/Ubuntu, the convenience `yt` command is not available,
 due to a clash with the python3-yt package
Author: Nick Morrott <knowledgejunkie@gmail.com>
Bug: https://github.com/bbcmicrobit/micropython/pull/634
Last-Update: 2019-01-19
---
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
 	@size $(HEX_SRC:.hex=)
 
 yotta: $(MBIT_VER_FILE)
-	@yt build
+	@yotta build
 
 $(MBIT_VER_FILE): FORCE
 	python3 tools/makeversionhdr.py $(MBIT_VER_FILE)
--- a/README.md
+++ b/README.md
@@ -30,13 +30,13 @@
 - Use target bbc-microbit-classic-gcc-nosd:
 
   ```
-  yt target bbc-microbit-classic-gcc-nosd
+  yotta target bbc-microbit-classic-gcc-nosd
   ```
 
 - Run yotta update to fetch remote assets:
 
   ```
-  yt up
+  yotta up
   ```
 
 - Start the build: