Skip to content

Commit

Permalink
Fixed build scripts for program binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed May 16, 2024
1 parent 457e933 commit 5512508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qrepo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"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/librishka_impl.cpp {{1}} lib/rishka/scripts/launcher.s",
"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/librishka_impl.cpp {{1}} lib/rishka/scripts/launcher.s",
"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"
],
Expand Down

0 comments on commit 5512508

Please sign in to comment.