> 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
 19:10:05  up   3:27,  2 users,  load average: 0.16, 0.35, 0.41
This commit is contained in:
tracer-ysyx 2024-03-03 19:10:05 +08:00 committed by xinyangli
parent a4d61ab418
commit e54e683cf5
2 changed files with 4 additions and 4 deletions

View file

@ -54,13 +54,14 @@
echo NEMU_HOME=$NEMU_HOME
echo pwd=$(pwd)
mkdir -p $(pwd)/kconfig
make
'';
# WORK_DIR=$(pwd) obj=$(pwd)/kconfig make --trace -e -f scripts/config.mk WORK_DIR=$(pwd) obj=$(pwd)/kconfig rv32_defconfig
buildPhase = ''
mkdir -p $out
ls $out
BUILD_DIR=$out make --trace
cat .config
ls /build/nemu/include/
make --trace
'';
installPhase = ''

View file

@ -32,7 +32,6 @@ $(obj)/parser.tab.c $(obj)/parser.tab.h: parser.y
@bison -v $< --defines=$(obj)/parser.tab.h -o $(obj)/parser.tab.c
conf:
@ldconfig -v
@$(MAKE) -s
mconf: