-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevice_lemon_s8.mk
More file actions
35 lines (26 loc) · 1.09 KB
/
device_lemon_s8.mk
File metadata and controls
35 lines (26 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
LOCAL_PATH := device/sprd/lemon_s8
# Inherit from AOSP product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_us_supl.mk)
# Inherit from vendor tree
$(call inherit-product-if-exists, vendor/sprd/lemon_s8/lemon_s8-vendor.mk)
# Inherit from sprd-common device configuration
#$(call inherit-product, device/sprd/sprd-common/common.mk)
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := $(LOCAL_PATH)/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/recovery/root/init.recovery.board.rc:root/init.recovery.board.rc \
$(LOCAL_PATH)/recovery/root/init.recovery.universal.rc:root/init.recovery.universal.rc \
$(LOCAL_PATH)/recovery/etc/twrp.fstab:recovery/root/etc/twrp.fstab
# Set those variables here to overwrite the inherited values.
PRODUCT_NAME := full_lemon_s8
PRODUCT_DEVICE := lemon_s8
PRODUCT_BRAND := sprd
PRODUCT_MANUFACTURER := sprd
PRODUCT_MODEL := Lemon S8