-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
47 lines (43 loc) · 1.19 KB
/
Makefile
File metadata and controls
47 lines (43 loc) · 1.19 KB
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
37
38
39
40
41
42
43
44
45
46
47
all:
echo started compiling
docker run --rm -it --privileged \
-v /dev:/dev \
-w /qmk_firmware \
-v ./custom:/qmk_firmware/keyboards/crkbd/keymaps/osbm-config:z \
-e SKIP_GIT= \
-e SKIP_VERSION= \
-e MAKEFLAGS= \
qmk-cli make crkbd/rev1:osbm-config:flash
flash-miryoku:
echo started compiling
docker run --rm -it --privileged \
-v /dev:/dev \
-w /qmk_firmware \
-v ./miryoku:/qmk_firmware/keyboards/crkbd/keymaps/osbm-config:z \
-e SKIP_GIT= \
-e SKIP_VERSION= \
-e MAKEFLAGS= \
qmk-cli make crkbd/rev1:osbm-config:flash
flash-rp2040:
docker run --rm -it --privileged \
-v /dev:/dev \
-w /qmk_firmware \
-v .:/output \
-v ./custom:/qmk_firmware/keyboards/crkbd/keymaps/osbm-config:z \
-e USER=root \
-e SKIP_GIT= \
-e SKIP_VERSION= \
-e MAKEFLAGS= \
-e CONVERT_TO=rp2040_ce \
qmk-cli bash -c "make crkbd/rev1:osbm-config && cp /qmk_firmware/.build/crkbd_rev1_osbm-config_rp2040_ce.uf2 /output"
enter-docker:
docker run --rm -it --privileged \
-v /dev:/dev \
-w /qmk_firmware \
-v ./custom:/qmk_firmware/keyboards/crkbd/keymaps/osbm-config:z \
-e SKIP_GIT= \
-e SKIP_VERSION= \
-e MAKEFLAGS= \
qmk-cli bash
build-image:
docker build -t qmk-cli .