forked from PhilZ-cwm6/android_device_samsung_trlte
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice_trltetmo.mk
60 lines (46 loc) · 1.59 KB
/
device_trltetmo.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
$(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/samsung/trltetmo/trltetmo-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += device/samsung/trltetmo/overlay
LOCAL_PATH := device/samsung/trltetmo
# Prebuilt Kernel
#ifneq ($(OUT),)
#ifeq ($(MK_KERNEL_OBJ),)
#$(shell rm -rf $(OUT)/obj/KERNEL_OBJ;\
# mkdir -p $(OUT)/obj;\
# ln -s $(ANDROID_BUILD_TOP)/$(LOCAL_PATH)/include/KERNEL_OBJ $(OUT)/obj/KERNEL_OBJ)
#MK_KERNEL_OBJ := true
#endif
#endif
#ifeq ($(TARGET_PREBUILT_KERNEL),)
# LOCAL_KERNEL := $(LOCAL_PATH)/kernel
#else
# LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
#endif
PRODUCT_COPY_FILES += \
# $(LOCAL_KERNEL):kernel \
bionic/libc/zoneinfo/tzdata:recovery/root/system/usr/share/zoneinfo/tzdata
$(call inherit-product, build/target/product/full.mk)
ADDITIONAL_DEFAULT_PROPERTIES += \
ro.bootloader.mode=download \
persist.security.ams.enforcing=1 \
ro.secure=1 \
ro.allow.mock.location=0 \
ro.debuggable=1 \
ro.adb.secure=1 \
persist.sys.usb.config=mtp,adb
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=640 \
persist.timed.enable=true
PRODUCT_PROPERTY_OVERRIDES += \
ro.cwm.forbid_format="/firmware,/firmware-modem" \
ro.cwm.forbid_mount="/firmware,/firmware-modem"
PRODUCT_PACKAGES += \
extra.fstab
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_COPY_FILES_OVERRIDES += \
root/fstab.goldfish \
root/ueventd.goldfish.rc
PRODUCT_NAME := full_trltetmo
PRODUCT_DEVICE := trltetmo