-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathdevice.mk
86 lines (72 loc) · 3.62 KB
/
device.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#
# Copyright (C) 2011 The CyanogenMod Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
## The gps config appropriate for this device
PRODUCT_COPY_FILES += device/common/gps/gps.conf_US_SUPL:system/etc/gps.conf
## ramdisk init
PRODUCT_COPY_FILES += \
device/samsung/skyrocket/prebuilt/init:root/init \
## (2) Also get non-open-source specific aspects if available
$(call inherit-product-if-exists, vendor/samsung/skyrocket/skyrocket-vendor.mk)
## misc
PRODUCT_PROPERTY_OVERRIDES += \
ro.setupwizard.enable_bypass=1 \
dalvik.vm.lockprof.threshold=500 \
ro.com.google.locationfeatures=1 \
dalvik.vm.dexopt-flags=m=y
## overlays
DEVICE_PACKAGE_OVERLAYS += device/samsung/skyrocket/overlay
# Permissions
PRODUCT_COPY_FILES += \
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml
# GPS and Light
PRODUCT_PACKAGES += \
gps.skyrocket \
lights.skyrocket \
sensors.skyrocket
# Kernel and modules
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/skyrocket/prebuilt/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel \
device/samsung/skyrocket/modules/ansi_cprng.ko:system/lib/modules/ansi_cprng.ko \
device/samsung/skyrocket/modules/cls_flow.ko:system/lib/modules/cls_flow.ko \
device/samsung/skyrocket/modules/dal_remotetest.ko:system/lib/modules/dal_remotetest.ko \
device/samsung/skyrocket/modules/dhd.ko:system/lib/modules/dhd.ko \
device/samsung/skyrocket/modules/dma_test.ko:system/lib/modules/dma_test.ko \
device/samsung/skyrocket/modules/evbug.ko:system/lib/modules/evbug.ko \
device/samsung/skyrocket/modules/gspca_main.ko:system/lib/modules/gspca_main.ko \
device/samsung/skyrocket/modules/ksapi.ko:system/lib/modules/ksapi.ko \
device/samsung/skyrocket/modules/lcd.ko:system/lib/modules/lcd.ko \
device/samsung/skyrocket/modules/msm-buspm-dev.ko:system/lib/modules/msm-buspm-dev.ko \
device/samsung/skyrocket/modules/msm_tsif.ko:system/lib/modules/msm_tsif.ko \
device/samsung/skyrocket/modules/qce.ko:system/lib/modules/qce.ko \
device/samsung/skyrocket/modules/qcedev.ko:system/lib/modules/qcedev.ko \
device/samsung/skyrocket/modules/qcrypto.ko:system/lib/modules/qcrypto.ko \
device/samsung/skyrocket/modules/sch_dsmark.ko:system/lib/modules/sch_dsmark.ko \
device/samsung/skyrocket/modules/scsi_wait_scan.ko:system/lib/modules/scsi_wait_scan.ko \
device/samsung/skyrocket/modules/spidev.ko:system/lib/modules/spidev.ko \
device/samsung/skyrocket/modules/tsif_chrdev.ko:system/lib/modules/tsif_chrdev.ko \
device/samsung/skyrocket/modules/vibrator.ko:system/lib/modules/vibrator.ko
# common msm8660
$(call inherit-product, device/samsung/msm8660-common/msm8660.mk)
$(call inherit-product, frameworks/base/build/phone-xhdpi-1024-dalvik-heap.mk)
$(call inherit-product-if-exists, vendor/samsung/skyrocket/skyrocket-vendor.mk)
#WIFI_BAND := 802_11_ABG
#$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/device-bcm.mk)