From ea9e410767159441c569b7f28044c16b75fe7b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= Date: Wed, 27 Mar 2024 15:50:05 -0700 Subject: Generate rules.mk for acpi crate Generated by `cargo2rulesmk.py --run`. Change-Id: I3f12e6521fb5a3387ff4cef01c585359e50fbdda --- rules.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 rules.mk diff --git a/rules.mk b/rules.mk new file mode 100644 index 0000000..aa6823e --- /dev/null +++ b/rules.mk @@ -0,0 +1,20 @@ +# 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 \ + +include make/library.mk -- cgit v1.2.3