summaryrefslogtreecommitdiff
path: root/hikey960/device-hikey960.mk
diff options
context:
space:
mode:
Diffstat (limited to 'hikey960/device-hikey960.mk')
-rw-r--r--hikey960/device-hikey960.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/hikey960/device-hikey960.mk b/hikey960/device-hikey960.mk
index d3118653..7d178801 100644
--- a/hikey960/device-hikey960.mk
+++ b/hikey960/device-hikey960.mk
@@ -14,6 +14,13 @@
# limitations under the License.
#
+ifeq ($(HIKEY960_ENABLE_AVF), true)
+# Based on the instructions in the following link:
+# https://android.googlesource.com/platform/packages/modules/Virtualization/+/refs/heads/master/microdroid/README.md
+# Tested with the android13-5.10 and android-mainline kernels.
+$(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk)
+endif
+
# Enable Virtual A/B
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \