Skip to content

Commit 4d1cd99

Browse files
committed
test: prepare cross compile automation
1 parent 0e08dab commit 4d1cd99

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

tests/binaries/riscv/shell.nix

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
let
2+
pkgs = import <nixpkgs>
3+
{
4+
crossSystem = (import <nixpkgs/lib>).systems.examples.riscv64;
5+
};
6+
in
7+
pkgs.mkShell {
8+
name = "kernel-qemu";
9+
depsBuildBuild = with pkgs; [
10+
# Kernel
11+
gcc
12+
# gnumake
13+
# flex
14+
# bison
15+
# bc
16+
# ncurses
17+
# pkg-config
18+
# perl
19+
# # Modules
20+
# kmod
21+
# # ramfs
22+
# cpio
23+
# #justqemuthings
24+
# qemu
25+
];
26+
}
27+

0 commit comments

Comments
 (0)