diff --git a/build/target/product/AndroidProducts.mk b/build/target/product/AndroidProducts.mk index 9410937e..3cc9d95c 100644 --- a/build/target/product/AndroidProducts.mk +++ b/build/target/product/AndroidProducts.mk @@ -30,7 +30,8 @@ PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/lineage_sdk_phone_arm64.mk \ $(LOCAL_DIR)/lineage_sdk_phone_x86_64.mk \ $(LOCAL_DIR)/lineage_sdk_tv_arm.mk \ - $(LOCAL_DIR)/lineage_sdk_tv_x86.mk + $(LOCAL_DIR)/lineage_sdk_tv_x86.mk \ + $(LOCAL_DIR)/lineage_sdk_tv_x86_64.mk COMMON_LUNCH_CHOICES := \ lineage_gsi_arm-userdebug \ @@ -48,4 +49,5 @@ COMMON_LUNCH_CHOICES := \ lineage_sdk_phone_arm64-userdebug \ lineage_sdk_phone_x86_64-userdebug \ lineage_sdk_tv_arm-userdebug \ - lineage_sdk_tv_x86-userdebug + lineage_sdk_tv_x86-userdebug \ + lineage_sdk_tv_x86_64-userdebug diff --git a/build/target/product/lineage_sdk_tv_x86_64.mk b/build/target/product/lineage_sdk_tv_x86_64.mk new file mode 100644 index 00000000..5e26a284 --- /dev/null +++ b/build/target/product/lineage_sdk_tv_x86_64.mk @@ -0,0 +1,29 @@ +# Copyright (C) 2024 The LineageOS 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 vendor/lineage/build/target/product/lineage_generic_tv_target.mk + +$(call inherit-product, device/google/atv/products/sdk_atv64_x86_64.mk) + +TARGET_NO_KERNEL_OVERRIDE := true + +# Enable mainline checking +PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed + +# Overrides +PRODUCT_NAME := lineage_sdk_tv_x86_64 +PRODUCT_MODEL := LineageOS Android TV SDK built for x86_64 + +PRODUCT_SDK_ADDON_NAME := lineage +PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties