Skip to content

Commit

Permalink
WIP: Add QEMU debug prints
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
  • Loading branch information
alistair23 committed Nov 1, 2023
1 parent 841184e commit 22b248b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -514,12 +514,13 @@ ci-job-cargo-test-build:

### ci-runner-github-qemu jobs:

QEMU_COMMIT_HASH=cab35c73be9d579db105ef73fa8a60728a890098
QEMU_COMMIT_HASH=c8cbfde9d5758cac4739cd01007b07a119aa3362
define ci_setup_qemu_riscv
$(call banner,CI-Setup: Build QEMU)
@# Use the latest QEMU as it has OpenTitan support
@rm -rf tools/qemu
@printf "Building QEMU, this could take a few minutes\n\n"
@git clone https://github.com/qemu/qemu ./tools/qemu 2>/dev/null || echo "qemu already cloned, checking out"
@git clone https://github.com/alistair23/qemu ./tools/qemu 2>/dev/null || echo "qemu already cloned, checking out"
@cd tools/qemu; git checkout ${QEMU_COMMIT_HASH}; ../qemu/configure --target-list=riscv32-softmmu --disable-linux-io-uring --disable-libdaxctl;
@# Build qemu
@$(MAKE) -C "tools/qemu/build" -j2 || (echo "You might need to install some missing packages" || exit 127)
Expand Down

0 comments on commit 22b248b

Please sign in to comment.