Browse Source

j5: Convert to unified device tree

Change-Id: Ie00f8a17d572c6dd1a4bddd13a8fee9dabc0b392
pie
Zvikomborero Vincent Zvikaramba 4 years ago
parent
commit
bed142e125
10 changed files with 17 additions and 17 deletions
  1. 1
    1
      Android.mk
  2. 2
    2
      AndroidProducts.mk
  3. 2
    2
      BoardConfig.mk
  4. 1
    1
      README.md
  5. 2
    2
      device.mk
  6. 1
    1
      extract-files.sh
  7. 3
    3
      lineage.mk
  8. 3
    3
      omni_j5lte.mk
  9. 1
    1
      setup-makefiles.sh
  10. 1
    1
      vendorsetup.sh

+ 1
- 1
Android.mk View File

@@ -1,4 +1,4 @@
ifneq ($(filter j5lte j5ltexx, $(TARGET_DEVICE)),)
ifneq ($(filter j5lte, $(TARGET_DEVICE)),)
LOCAL_PATH := $(call my-dir)
include $(call all-subdir-makefiles,$(LOCAL_PATH))
include $(call all-makefiles-under,$(LOCAL_PATH))

+ 2
- 2
AndroidProducts.mk View File

@@ -1,3 +1,3 @@
LOCAL_PATH := device/samsung/j5ltexx
LOCAL_PATH := device/samsung/j5lte
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/omni_j5ltexx.mk
$(LOCAL_DIR)/omni_j5lte.mk

+ 2
- 2
BoardConfig.mk View File

@@ -1,10 +1,10 @@
# Inherit from common
include device/samsung/j5-common/BoardConfigCommon.mk

LOCAL_PATH := device/samsung/j5ltexx
LOCAL_PATH := device/samsung/j5lte

# Asserts
TARGET_OTA_ASSERT_DEVICE := j5ltexx,j5lte
TARGET_OTA_ASSERT_DEVICE := j5lte,j5ltexx

# Kernel
TARGET_KERNEL_VARIANT_CONFIG := msm8916_sec_j5lte_eur_defconfig

+ 1
- 1
README.md View File

@@ -1,4 +1,4 @@
# android_device_samsung_j5ltexx
# android_device_samsung_j5lte

## Device tree for Samsung Galaxy J5 LTE


+ 2
- 2
device.mk View File

@@ -1,10 +1,10 @@
#Inherit from vendor
$(call inherit-product-if-exists, vendor/samsung/j5ltexx/j5ltexx-vendor.mk)
$(call inherit-product-if-exists, vendor/samsung/j5lte/j5lte-vendor.mk)

# Inherit from common
$(call inherit-product, device/samsung/j5-common/device-common.mk)

LOCAL_PATH := device/samsung/j5ltexx
LOCAL_PATH := device/samsung/j5lte

# System properties
-include $(LOCAL_PATH)/system_prop.mk

+ 1
- 1
extract-files.sh View File

@@ -19,7 +19,7 @@
set -e

# Required!
export DEVICE=j5ltexx
export DEVICE=j5lte
export DEVICE_COMMON=j5-common
export VENDOR=samsung


+ 3
- 3
lineage.mk View File

@@ -2,11 +2,11 @@
# Inherit from common
$(call inherit-product, device/samsung/j5-common/lineage.mk)

$(call inherit-product, device/samsung/j5ltexx/device.mk)
$(call inherit-product, device/samsung/j5lte/device.mk)

## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := j5ltexx
PRODUCT_NAME := lineage_j5ltexx
PRODUCT_DEVICE := j5lte
PRODUCT_NAME := lineage_j5lte
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-J500F
PRODUCT_MANUFACTURER := samsung

omni_j5ltexx.mk → omni_j5lte.mk View File

@@ -2,11 +2,11 @@
# Inherit from common
$(call inherit-product, device/samsung/j5-common/omni.mk)

$(call inherit-product, device/samsung/j5ltexx/device.mk)
$(call inherit-product, device/samsung/j5lte/device.mk)

## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := j5ltexx
PRODUCT_NAME := omni_j5ltexx
PRODUCT_DEVICE := j5lte
PRODUCT_NAME := omni_j5lte
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-J500F
PRODUCT_MANUFACTURER := samsung

+ 1
- 1
setup-makefiles.sh View File

@@ -19,7 +19,7 @@
set -e

# Required!
export DEVICE=j5ltexx
export DEVICE=j5lte
export DEVICE_COMMON=j5-common
export VENDOR=samsung


+ 1
- 1
vendorsetup.sh View File

@@ -1,3 +1,3 @@
for i in eng userdebug user; do
add_lunch_combo lineage_j5ltexx-${i}
add_lunch_combo lineage_j5lte-${i}
done

Loading…
Cancel
Save