-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevice.mk
More file actions
48 lines (38 loc) · 1.62 KB
/
device.mk
File metadata and controls
48 lines (38 loc) · 1.62 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
36
37
38
39
40
41
42
43
44
45
46
47
48
DEVICE_FOLDER := device/motorola/solstice
## (2) Also get non-open-source specific aspects if available
$(call inherit-product-if-exists, vendor/motorola/solstice/solstice-vendor.mk)
## overlays
DEVICE_PACKAGE_OVERLAYS += device/motorola/solstice/overlay/aosp
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
# IDC
PRODUCT_COPY_FILES += $(DEVICE_FOLDER)/idc/atmxt-i2c.idc:system/usr/idc/atmxt-i2c.idc
# Media config
PRODUCT_COPY_FILES += \
$(DEVICE_FOLDER)/media_profiles.xml:system/etc/media_profiles.xml
# Radio and Telephony
PRODUCT_PROPERTY_OVERRIDES += \
DEVICE_PROVISIONED=1 \
ro.config.svlte1x=true \
ro.cdma.subscribe_on_ruim_ready=true \
persist.radio.no_wait_for_card=1
# copy all kernel modules under the "modules" directory to system/lib/modules
#PRODUCT_COPY_FILES += $(shell \
# find device/motorola/scorpion_mini/modules -name '*.ko' \
# | sed -r 's/^\/?(.*\/)([^/ ]+)$$/\1\2:system\/lib\/modules\/\2/' \
# | tr '\n' ' ')
#ifeq ($(TARGET_PREBUILT_KERNEL),)
#LOCAL_KERNEL := device/motorola/solstice/kernel
#else
#LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
#endif
#PRODUCT_COPY_FILES += \
# $(LOCAL_KERNEL):kernel
# Inherit from msm8960-common
$(call inherit-product, device/motorola/msm8960-common/msm8960-common.mk)
# Inherit cdma specific stuff
$(call inherit-product-if-exists, vendor/motorola/msm8960-common/msm8960-common-vendor.mk)
# Camera and GPS blobs
$(call inherit-product-if-exists, vendor/motorola/solstice/scorpion_mini_jb_camera.mk)
$(call inherit-product-if-exists, vendor/motorola/solstice/scorpion_42_gps.mk)