forked from leopesto/device_Jiayu_G2L
-
Notifications
You must be signed in to change notification settings - Fork 0
/
G2L.mk
32 lines (24 loc) · 956 Bytes
/
G2L.mk
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
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_us_supl.mk)
$(call inherit-product-if-exists, vendor/jiayu/G2L/G2L-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += device/jiayu/G2L/overlay
LOCAL_PATH := device/Jiayu/G2L
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 += \
device/jiayu/G2L/prebuilt/root/init.G2L.rc:root/init.G2L.rc \
device/jiayu/G2L/prebuilt/root/init.G2L.usb.rc:root/init.G2L.usb.rc \
device/jiayu/G2L/prebuilt/root/ueventd.G2L.rc:root/ueventd.rc \
$(call inherit-product, build/target/product/full.mk)
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_NAME := G2L
PRODUCT_DEVICE := G2L
PRODUCT_BRAND := jiayu
PRODUCT_MODEL := G2L
PRODUCT_MANUFACTURER := JIAYU