From 8864d27cd26161e68b0f18678dedc637e5b90e29 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 10 Aug 2018 13:47:04 +0200 Subject: [PATCH] a5xelte: Consider lineage_a5xelte product via the AOSP way Change-Id: Ibdeb62f0aa30933a09ac12ca825025e5f18574ab --- AndroidProducts.mk | 2 +- full_a5xelte.mk | 28 ---------------------------- lineage.mk => lineage_a5xelte.mk | 11 +++++------ 3 files changed, 6 insertions(+), 35 deletions(-) delete mode 100644 full_a5xelte.mk rename lineage.mk => lineage_a5xelte.mk (80%) diff --git a/AndroidProducts.mk b/AndroidProducts.mk index d0a9ccf..d86429d 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -17,4 +17,4 @@ LOCAL_PATH := device/samsung/a5xelte PRODUCT_MAKEFILES := \ - $(LOCAL_PATH)/full_a5xelte.mk + $(LOCAL_PATH)/lineage_a5xelte.mk diff --git a/full_a5xelte.mk b/full_a5xelte.mk deleted file mode 100644 index 2375876..0000000 --- a/full_a5xelte.mk +++ /dev/null @@ -1,28 +0,0 @@ -# -# Copyright (C) 2018 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. -# - -LOCAL_PATH := device/samsung/a5xelte - -# Inherit from those products. Most specific first. -$(call inherit-product, $(LOCAL_PATH)/device.mk) -$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) - -# Set those variables here to overwrite the inherited values. -PRODUCT_NAME := full_a5xelte -PRODUCT_DEVICE := a5xelte -PRODUCT_MODEL := SM-A510F -PRODUCT_BRAND := Samsung -PRODUCT_MANUFACTURER := samsung diff --git a/lineage.mk b/lineage_a5xelte.mk similarity index 80% rename from lineage.mk rename to lineage_a5xelte.mk index 30c7f67..4bf30da 100644 --- a/lineage.mk +++ b/lineage_a5xelte.mk @@ -16,19 +16,18 @@ LOCAL_PATH := device/samsung/a5xelte -$(call inherit-product, $(LOCAL_PATH)/full_a5xelte.mk) - -# Inherit from the common Open Source product configuration -$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) +# Inherit from those products. Most specific first. +$(call inherit-product, $(LOCAL_PATH)/device.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_l_mr1.mk) -# Inherit some common Lineage stuff. +# Inherit common Lineage phone. $(call inherit-product, vendor/lineage/config/common_full_phone.mk) # Set those variables here to overwrite the inherited values. PRODUCT_NAME := lineage_a5xelte PRODUCT_DEVICE := a5xelte PRODUCT_MODEL := SM-A510F -PRODUCT_BRAND := Samsung +PRODUCT_BRAND := samsung PRODUCT_MANUFACTURER := samsung PRODUCT_GMS_CLIENTID_BASE := android-samsung -- 2.20.1