> 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:
parent
a4d61ab418
commit
e54e683cf5
2 changed files with 4 additions and 4 deletions
|
@ -54,13 +54,14 @@
|
||||||
echo NEMU_HOME=$NEMU_HOME
|
echo NEMU_HOME=$NEMU_HOME
|
||||||
echo pwd=$(pwd)
|
echo pwd=$(pwd)
|
||||||
mkdir -p $(pwd)/kconfig
|
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 = ''
|
buildPhase = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
ls $out
|
cat .config
|
||||||
BUILD_DIR=$out make --trace
|
ls /build/nemu/include/
|
||||||
|
make --trace
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -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
|
@bison -v $< --defines=$(obj)/parser.tab.h -o $(obj)/parser.tab.c
|
||||||
|
|
||||||
conf:
|
conf:
|
||||||
@ldconfig -v
|
|
||||||
@$(MAKE) -s
|
@$(MAKE) -s
|
||||||
|
|
||||||
mconf:
|
mconf:
|
||||||
|
|
Loading…
Reference in a new issue