> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.18 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:25:28 UTC 2024 x86_64 GNU/Linux
 20:12:50  up   4:30,  2 users,  load average: 0.35, 0.31, 0.35
This commit is contained in:
tracer-ysyx 2024-03-03 20:12:50 +08:00 committed by xinyangli
parent e54e683cf5
commit f2a6cf21a5

View file

@ -51,17 +51,11 @@
];
configurePhase = ''
echo NEMU_HOME=$NEMU_HOME
echo pwd=$(pwd)
mkdir -p $(pwd)/kconfig
make
'';
buildPhase = ''
mkdir -p $out
cat .config
ls /build/nemu/include/
make --trace
make NEMU_HOME=/build/nemu --trace
'';
installPhase = ''
@ -72,8 +66,6 @@
BUILD_DIR=$out make test
'';
NEMU_HOME = src;
meta = with lib; {
description = "NJU EMUlator, a full system x86/mips32/riscv32/riscv64 emulator for teaching";
homepage = "https://github.com/NJU-ProjectN/nemu.git";