-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
83 lines (64 loc) · 1.36 KB
/
Makefile
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# SPDX-License-Identifier: MIT
MAKEFLAGS += --silent
SHELL := /usr/bin/env bash
.PHONY: all
all: build
.PHONY: config
configure: config
config:
./tools/config.py
python -m venv .venv
.venv/bin/pip install esptool
git submodule update --init
.PHONY: hh24_defconfig
hh24_defconfig:
./tools/config.py --target esp32c6 --use-default
.PHONY: why2025_defconfig
why2025_defconfig:
./tools/config.py --target esp32p4 --use-default
.PHONY: unmatched_defconfig
unmatched_defconfig:
./tools/config.py --target generic --use-default --vec_spec none
.PHONY: build
build:
$(MAKE) -C files build
$(MAKE) -C kernel build
.PHONY: clean
clean:
$(MAKE) -C files clean
$(MAKE) -C kernel clean
.PHONY: cmake-configure
cmake-configure:
$(MAKE) -C files build
$(MAKE) -C kernel cmake-configure
.PHONY: openocd
openocd:
$(MAKE) -C kernel openocd
.PHONY: gdb
gdb:
$(MAKE) -C kernel gdb
.PHONY: qemu
qemu:
$(MAKE) -C files build
$(MAKE) -C kernel qemu
.PHONY: flash
flash:
$(MAKE) -C files build
$(MAKE) -C kernel flash
.PHONY: image
image:
$(MAKE) -C files build
$(MAKE) -C kernel image
.PHONY: burn
burn:
$(MAKE) -C files build
$(MAKE) -C kernel burn
.PHONY: monitor
monitor:
$(MAKE) -C kernel monitor
.PHONY: clang-format-check
clang-format-check:
$(MAKE) -C kernel clang-format-check
.PHONY: clang-tidy-check
clang-tidy-check:
$(MAKE) -C kernel clang-tidy-check