-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
57 lines (52 loc) · 1.09 KB
/
Makefile.toml
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
[tasks.build-skylift]
cwd = "SkyLift"
command = "cargo"
args = [
"build",
"--artifact-dir",
"../Drive/EFI/BOOT",
"--profile",
"${CARGO_MAKE_CARGO_PROFILE}",
]
[tasks.build-sky]
cwd = "Sky"
command = "cargo"
args = [
"build",
"--artifact-dir",
"../Drive/System",
"--profile",
"${CARGO_MAKE_CARGO_PROFILE}",
]
[tasks.make-skcache]
dependencies = ["make-boot-exts"]
cwd = "Utilities/SKCacheBuilder"
command = "cargo"
args = ["run", "--release"]
[tasks.make-boot-exts]
cwd = "Extensions"
command = "cargo"
args = ["make", "-p", "${CARGO_MAKE_PROFILE}", "make"]
[tasks.make]
dependencies = ["build-skylift", "build-sky", "make-skcache"]
[tasks.run]
command = "qemu-system-x86_64"
args = [
"-M",
"q35",
"-m",
"1G",
"-drive",
"if=pflash,format=raw,readonly=on,unit=0,file=${@}/OVMF_CODE.fd",
"-drive",
"if=pflash,format=raw,unit=1,file=${@}/OVMF_VARS.fd",
"-hda",
"fat:rw:Drive",
"-serial",
"stdio",
"-audiodev",
"coreaudio,id=audio,out.frequency=48000",
"-device",
"ac97,audiodev=audio",
]
dependencies = ["make"]