import arch in qemu device config

This commit is contained in:
Daniel Barlow 2023-09-20 21:30:18 +01:00
parent 3a3ee8bbbd
commit 9f87fd8625

View file

@ -13,6 +13,7 @@
}; };
module = {pkgs, config, ... }: { module = {pkgs, config, ... }: {
imports = [ ../../modules/arch/mipseb.nix ];
kernel = { kernel = {
src = pkgs.pkgsBuildBuild.fetchurl { src = pkgs.pkgsBuildBuild.fetchurl {
name = "linux.tar.gz"; name = "linux.tar.gz";
@ -21,8 +22,6 @@
}; };
config = { config = {
MIPS_MALTA= "y"; MIPS_MALTA= "y";
CPU_LITTLE_ENDIAN= "n";
CPU_BIG_ENDIAN= "y";
CPU_MIPS32_R2= "y"; CPU_MIPS32_R2= "y";
MTD = "y"; MTD = "y";