Skip to content

Commit

Permalink
using Qemu's base address for UART
Browse files Browse the repository at this point in the history
currently, we are using on aarch64 only Qemu as hypervisor
and activate Qemu's UART interface on default
  • Loading branch information
stlankes committed Aug 18, 2021
1 parent 4ce7390 commit c789789
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hermit-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {
// disable all default features
cmd.arg("--no-default-features");

if target.target_arch() == "aarch64" {
cmd.arg("--features");
cmd.arg("aarch64-qemu-stdout");
}

// do we have to enable PCI support?
#[cfg(feature = "pci")]
{
Expand Down

0 comments on commit c789789

Please sign in to comment.