-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qrepo.json
42 lines (42 loc) · 1.67 KB
/
qrepo.json
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
{
"name": "Jessy-OS",
"author": "Nathanne Isip",
"version": "v2.0.0",
"description": "",
"git": "https://github.com/nthnn/Jessy-OS.git",
"scripts": {
"linux:compile": [
"mkdir -p dist",
"riscv64-unknown-elf-g++ -march=rv64im -mabi=lp64 -nostdlib -Wl,-T,lib/rishka/scripts/link.ld -O2 -o dist/{{2}}.out -Ilib/rishka/sdk lib/rishka/sdk/*.cpp {{1}} lib/rishka/scripts/launcher.s",
"riscv64-unknown-elf-objcopy -O binary dist/{{2}}.out dist/{{2}}.bin",
"rm dist/{{2}}.out"
],
"windows:compile": [
"riscv64-unknown-elf-g++ -march=rv64im -mabi=lp64 -nostdlib -Wl,-T,lib/rishka/scripts/link.ld -O2 -o dist/{{2}}.out -Ilib/rishka/sdk lib/rishka/sdk/*.cpp {{1}} lib/rishka/scripts/launcher.s",
"riscv64-unknown-elf-objcopy -O binary dist/{{2}}.out dist/{{2}}.bin",
"rm dist/{{2}}.out"
],
"build-programs": [
"qrepo run compile programs/boot.cpp boot",
"qrepo run compile programs/cat.cpp cat",
"qrepo run compile programs/cd.cpp cd",
"qrepo run compile programs/clear.cpp clear",
"qrepo run compile programs/ls.cpp ls",
"qrepo run compile programs/mkdir.cpp mkdir",
"qrepo run compile programs/pwd.cpp pwd",
"qrepo run compile programs/rm.cpp rm",
"qrepo run compile programs/shell.cpp shell",
"qrepo run compile programs/sysinfo.cpp sysinfo",
"qrepo run compile programs/touch.cpp touch"
],
"build-kernel": [
"arduino-cli compile --fqbn esp32:esp32:esp32wrover:PartitionScheme=huge_app --library lib/Arduino-List --library lib/FabGL --library lib/rishka --build-path build --verbose kernel"
],
"upload-kernel": [
"arduino-cli upload --input-dir build -p {{1}} -b esp32:esp32:esp32wrover"
],
"clean": [
"rm -rf dist build"
]
}
}