vmm, arch, devices: Put ACPI support behind a default feature

Put the ACPI support behind a feature and ensure that the code compiles
without that feature by adding an extra build to Travis.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2019-09-03 14:54:06 +01:00
committed by Samuel Ortiz
parent bb2e7bb942
commit 9e764fc091
8 changed files with 28 additions and 5 deletions
+5 -1
View File
@@ -4,8 +4,12 @@ version = "0.1.0"
authors = ["The Cloud Hypervisor Authors"]
edition = "2018"
[features]
default = ["acpi"]
acpi = ["acpi_tables"]
[dependencies]
acpi_tables = { path = "../acpi_tables" }
acpi_tables = { path = "../acpi_tables", optional = true }
arch = { path = "../arch" }
devices = { path = "../devices" }
epoll = "4.1.0"