project: vm-arm-virt-[test]-inc.mk: create inc makefile for VMs create a new platform which name starts with the `vm-` prefix, complementing the legacy `generic` platform: - `generic` is a platform for Trusty OS images running as TEE, requiring placeholder hals for emulating the hw dependencies or emulating provisioning lifecycle (system state server). - `vm` is a platform for Trusty OS images running as virtual machines, requiring Trusted HALs (remote HWCrypto and Secure Storage services) Bug: 394704863 Test: build any Trusty target Change-Id: Ieb18d69fb8001f4b8862d90b9219ef4cb13e7e19
diff --git a/project/vm-x86_64-virt-inc.mk b/project/vm-x86_64-virt-inc.mk new file mode 100644 index 0000000..bad5ac6 --- /dev/null +++ b/project/vm-x86_64-virt-inc.mk
@@ -0,0 +1,30 @@ +# Copyright (C) 2025 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# release build +DEBUG ?= 1 +UBSAN_ENABLED ?= false +RELEASE_BUILD ?= true +SYMTAB_ENABLED ?= false + +# no placeholder hals by default +WITH_FAKE_HWRNG ?= false +WITH_FAKE_HWKEY ?= false +WITH_FAKE_KEYBOX ?= false + +USE_SYSTEM_BINDER := true + +include project/generic-x86_64-inc.mk +
diff --git a/project/vm-x86_64-virt-test-inc.mk b/project/vm-x86_64-virt-test-inc.mk new file mode 100644 index 0000000..497cd94 --- /dev/null +++ b/project/vm-x86_64-virt-test-inc.mk
@@ -0,0 +1,18 @@ +# Copyright (C) 2025 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +include project/generic-x86_64-virt-inc.mk +include project/generic-x86_65_test-inc.mk +