From: Bruno Martins Date: Fri, 10 Aug 2018 11:47:04 +0000 (+0200) Subject: a5xelte: Consider lineage_a5xelte product via the AOSP way X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8864d27cd26161e68b0f18678dedc637e5b90e29;p=GitHub%2FLineageOS%2Fandroid_device_samsung_a5xelte.git a5xelte: Consider lineage_a5xelte product via the AOSP way Change-Id: Ibdeb62f0aa30933a09ac12ca825025e5f18574ab --- 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.mk deleted file mode 100644 index 30c7f67..0000000 --- a/lineage.mk +++ /dev/null @@ -1,34 +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 - -$(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) -$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_l_mr1.mk) - -# Inherit some common Lineage stuff. -$(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_MANUFACTURER := samsung -PRODUCT_GMS_CLIENTID_BASE := android-samsung diff --git a/lineage_a5xelte.mk b/lineage_a5xelte.mk new file mode 100644 index 0000000..4bf30da --- /dev/null +++ b/lineage_a5xelte.mk @@ -0,0 +1,33 @@ +# +# 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) +$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_l_mr1.mk) + +# 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_MANUFACTURER := samsung +PRODUCT_GMS_CLIENTID_BASE := android-samsung