From e54e683cf5b2b3dda734299078e0a869af43bc9a Mon Sep 17 00:00:00 2001 From: tracer-ysyx Date: Sun, 3 Mar 2024 19:10:05 +0800 Subject: [PATCH] =?UTF-8?q?>=20compile=20NEMU=20ysyx=5F22040000=20?= =?UTF-8?q?=E6=9D=8E=E5=BF=83=E6=9D=A8=20Linux=20calcite=206.6.18=20#1-Nix?= =?UTF-8?q?OS=20SMP=20PREEMPT=5FDYNAMIC=20Fri=20Feb=2023=2008:25:28=20UTC?= =?UTF-8?q?=202024=20x86=5F64=20GNU/Linux=20=2019:10:05=20=20up=20=20=203:?= =?UTF-8?q?27,=20=202=20users,=20=20load=20average:=200.16,=200.35,=200.41?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nemu/flake.nix | 7 ++++--- nemu/tools/kconfig/Makefile | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nemu/flake.nix b/nemu/flake.nix index e70f447..850bb03 100644 --- a/nemu/flake.nix +++ b/nemu/flake.nix @@ -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 = '' diff --git a/nemu/tools/kconfig/Makefile b/nemu/tools/kconfig/Makefile index e29b038..d853482 100644 --- a/nemu/tools/kconfig/Makefile +++ b/nemu/tools/kconfig/Makefile @@ -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: