Browse Source

j5xnlte: Reconfigure

pie
Dyneteve 4 years ago
parent
commit
8bdd14150b
10 changed files with 29 additions and 31 deletions
  1. 1
    1
      Android.mk
  2. 2
    2
      AndroidProducts.mk
  3. 4
    4
      BoardConfig.mk
  4. 3
    3
      device.mk
  5. 2
    2
      extract-files.sh
  6. 5
    5
      lineage.mk
  7. 4
    5
      omni_j5xnlte.mk
  8. 5
    6
      rr.mk
  9. 2
    2
      setup-makefiles.sh
  10. 1
    1
      vendorsetup.sh

+ 1
- 1
Android.mk View File

@@ -1,4 +1,4 @@
ifneq ($(filter j5lte, $(TARGET_DEVICE)),)
ifneq ($(filter j5xnlte, $(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/j5lte
LOCAL_PATH := device/samsung/j5xnlte
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/omni_j5lte.mk
$(LOCAL_DIR)/omni_j5xnlte.mk

+ 4
- 4
BoardConfig.mk View File

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

LOCAL_PATH := device/samsung/j5lte
LOCAL_PATH := device/samsung/j5xnlte

# Asserts
TARGET_OTA_ASSERT_DEVICE := j5lte,j5ltechn,j5ltedx,j5ltedo,j5ltekx,j5lteub,j5ltexx,j5ltezt,j5ylte
TARGET_OTA_ASSERT_DEVICE := j5xnlte

# Kernel
TARGET_KERNEL_VARIANT_CONFIG := msm8916_sec_j5lte_eur_defconfig
TARGET_KERNEL_VARIANT_CONFIG := msm8916_sec_j5xnlte_eur_defconfig

# Partition sizes
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2181038080

+ 3
- 3
device.mk View File

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

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

LOCAL_PATH := device/samsung/j5lte
LOCAL_PATH := device/samsung/j5xnlte

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

+ 2
- 2
extract-files.sh View File

@@ -19,8 +19,8 @@
set -e

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

export SETUP_DEVICE_DIR=1

+ 5
- 5
lineage.mk View File

@@ -1,14 +1,14 @@

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

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

## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := j5lte
PRODUCT_NAME := lineage_j5lte
PRODUCT_DEVICE := j5xnlte
PRODUCT_NAME := lineage_j5xnlte
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-J500F
PRODUCT_MODEL := SM-J510F
PRODUCT_MANUFACTURER := samsung
PRODUCT_CHARACTERISTICS := phone


omni_j5lte.mk → omni_j5xnlte.mk View File

@@ -1,14 +1,13 @@

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

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

## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := j5lte
PRODUCT_DEVICE := j5xnlte
PRODUCT_NAME := omni_j5lte
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-J500F
PRODUCT_MODEL := SM-J510F
PRODUCT_MANUFACTURER := samsung
PRODUCT_CHARACTERISTICS := phone


+ 5
- 6
rr.mk View File

@@ -1,14 +1,13 @@

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

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

## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := j5lte
PRODUCT_NAME := rr_j5lte
PRODUCT_DEVICE := j5xnlte
PRODUCT_NAME := rr_j5xnlte
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-J500F
PRODUCT_MODEL := SM-J510F
PRODUCT_MANUFACTURER := samsung
PRODUCT_CHARACTERISTICS := phone


+ 2
- 2
setup-makefiles.sh View File

@@ -19,8 +19,8 @@
set -e

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

export SETUP_DEVICE_DIR=1

+ 1
- 1
vendorsetup.sh View File

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

Loading…
Cancel
Save