-
Notifications
You must be signed in to change notification settings - Fork 4
/
codinap.mk
45 lines (37 loc) · 1.65 KB
/
codinap.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
# Include common makefile
$(call inherit-product, device/samsung/u8500-common/common.mk)
# For better compatibility with ROMs (like Slim, PAC)
$(call inherit-product, vendor/samsung/u8500-common/codina/codinap-vendor-blobs.mk)
LOCAL_PATH := device/samsung/codinap
CODINA_PATH := device/samsung/codina
# Overlay
DEVICE_PACKAGE_OVERLAYS += $(CODINA_PATH)/overlay
# Init files
PRODUCT_COPY_FILES += \
$(CODINA_PATH)/rootdir/device_tunables.rc:root/device_tunables.rc \
$(CODINA_PATH)/rootdir/fstab.samsungcodina:root/fstab.samsungcodina \
$(LOCAL_PATH)/rootdir/init.samsungcodina.rc:root/init.samsungcodina.rc \
$(CODINA_PATH)/rootdir/init.recovery.samsungcodina.rc:root/init.recovery.samsungcodina.rc \
$(CODINA_PATH)/rootdir/ueventd.samsungcodina.rc:root/ueventd.samsungcodina.rc
# STE Modem
PRODUCT_COPY_FILES += \
$(CODINA_PATH)/configs/ste_modem.sh:system/etc/ste_modem.sh
# Audio
PRODUCT_COPY_FILES += \
$(CODINA_PATH)/configs/adm.sqlite-u8500:system/etc/adm.sqlite-u8500
# GPS
PRODUCT_COPY_FILES += \
$(CODINA_PATH)/configs/gps.conf:system/etc/gps.conf
# NFC
PRODUCT_PACKAGES += \
com.android.nfc_extras \
libnfc \
libnfc_jni \
Nfc \
Tag
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/NFC/nfcee_access.xml:system/etc/nfcee_access.xml \
packages/apps/Nfc/migrate_nfc.txt:system/etc/updatecmds/migrate_nfc.txt \
frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml \
frameworks/native/data/etc/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml