diff options
-rw-r--r-- | rules.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk new file mode 100644 index 0000000..c99a572 --- /dev/null +++ b/rules.mk @@ -0,0 +1,21 @@ +# This file is generated by cargo2rulesmk.py --run. +# Do not modify this file as changes will be overridden on upgrade. + +LOCAL_DIR := $(GET_LOCAL_DIR) +MODULE := $(LOCAL_DIR) +MODULE_CRATE_NAME := acpi +MODULE_SRCS := \ + $(LOCAL_DIR)/src/lib.rs \ + +MODULE_RUST_EDITION := 2021 +MODULE_RUSTFLAGS += \ + --cfg 'feature="alloc"' \ + --cfg 'feature="allocator_api"' \ + --cfg 'feature="default"' \ + +MODULE_LIBRARY_DEPS := \ + external/rust/crates/bit_field \ + external/rust/crates/log \ + trusty/user/base/lib/liballoc-rust \ + +include make/library.mk |