lineage: enable building otatools with generic targets
Change-Id: I4bbd32378e159084f8e5dfb852749f77feb31788
diff --git a/build/target/product/lineage_arm.mk b/build/target/product/lineage_arm.mk
index 703fe14..4ce098e 100644
--- a/build/target/product/lineage_arm.mk
+++ b/build/target/product/lineage_arm.mk
@@ -15,6 +15,9 @@
$(call inherit-product, build/target/product/aosp_arm.mk)
$(call inherit-product, vendor/lineage/config/common.mk)
+# Allow building otatools
+TARGET_FORCE_OTA_PACKAGE := true
+
TARGET_USES_64_BIT_BINDER := true
PRODUCT_NAME := lineage_arm
diff --git a/build/target/product/lineage_arm64.mk b/build/target/product/lineage_arm64.mk
index 54f2556..d2d0bc0 100644
--- a/build/target/product/lineage_arm64.mk
+++ b/build/target/product/lineage_arm64.mk
@@ -15,4 +15,7 @@
$(call inherit-product, build/target/product/aosp_arm64.mk)
$(call inherit-product, vendor/lineage/config/common.mk)
+# Allow building otatools
+TARGET_FORCE_OTA_PACKAGE := true
+
PRODUCT_NAME := lineage_arm64
diff --git a/build/target/product/lineage_x86.mk b/build/target/product/lineage_x86.mk
index 5f56fb3..51cf752 100644
--- a/build/target/product/lineage_x86.mk
+++ b/build/target/product/lineage_x86.mk
@@ -15,6 +15,9 @@
$(call inherit-product, build/target/product/aosp_x86.mk)
$(call inherit-product, vendor/lineage/config/common.mk)
+# Allow building otatools
+TARGET_FORCE_OTA_PACKAGE := true
+
TARGET_USES_64_BIT_BINDER := true
PRODUCT_NAME := lineage_x86