diff options
Diffstat (limited to 'device_base.mk')
-rw-r--r-- | device_base.mk | 64 |
1 files changed, 53 insertions, 11 deletions
diff --git a/device_base.mk b/device_base.mk index 705820e..724c1b6 100644 --- a/device_base.mk +++ b/device_base.mk @@ -51,12 +51,28 @@ PRODUCT_COPY_FILES += \ device/samsung/crespo/init.herring.rc:root/init.herring.rc \ device/samsung/crespo/ueventd.herring.rc:root/ueventd.herring.rc -# Prebuilt kl keymaps +# Prebuilt kl and kcm keymaps PRODUCT_COPY_FILES += \ device/samsung/crespo/s3c-keypad.kl:system/usr/keylayout/s3c-keypad.kl \ + device/samsung/crespo/s3c-keypad.kcm:system/usr/keychars/s3c-keypad.kcm \ + device/samsung/crespo/herring-keypad.kl:system/usr/keylayout/herring-keypad.kl \ + device/samsung/crespo/herring-keypad.kcm:system/usr/keychars/herring-keypad.kcm \ device/samsung/crespo/cypress-touchkey.kl:system/usr/keylayout/cypress-touchkey.kl \ + device/samsung/crespo/cypress-touchkey.kcm:system/usr/keychars/cypress-touchkey.kcm \ device/samsung/crespo/sec_jack.kl:system/usr/keylayout/sec_jack.kl \ - device/samsung/crespo/herring-keypad.kl:system/usr/keylayout/herring-keypad.kl + device/samsung/crespo/sec_jack.kcm:system/usr/keychars/sec_jack.kcm + +#Bluetooth setup +PRODUCT_COPY_FILES += \ + system/bluetooth/data/main.conf:system/etc/bluetooth/main.conf \ + +#NVRAM setup +PRODUCT_COPY_FILES += \ + device/samsung/crespo/nvram_net.txt:system/vendor/firmware/nvram_net.txt + +#MFC Firmware +PRODUCT_COPY_FILES += \ + device/samsung/crespo/samsung_mfc_fw.bin:system/vendor/firmware/samsung_mfc_fw.bin # Generated kcm keymaps PRODUCT_PACKAGES := \ @@ -90,12 +106,37 @@ PRODUCT_PACKAGES += \ overlay.s5pc110 \ sensors.herring +# Camera +PRODUCT_PACKAGES += \ + camera.s5pc110 + +# audio +PRODUCT_PACKAGES += \ + audio_policy.herring \ + audio.primary.herring \ + audio.a2dp.default + # Libs PRODUCT_PACKAGES += \ libcamera \ libstagefrighthw \ com.android.future.usb.accessory +# NFC +PRODUCT_PACKAGES += \ + libnfc \ + libnfc_jni \ + Nfc \ + Tag + +# Live Wallpapers +PRODUCT_PACKAGES += \ + LiveWallpapers \ + LiveWallpapersPicker \ + MagicSmokeWallpapers \ + VisualizationWallpapers \ + librs_jni + # Input device calibration files PRODUCT_COPY_FILES += \ device/samsung/crespo/mxt224_ts_input.idc:system/usr/idc/mxt224_ts_input.idc @@ -125,19 +166,20 @@ PRODUCT_PROPERTY_OVERRIDES := \ # Note that the only such settings should be the ones that are too low-level to # be reachable from resources or other mechanisms. PRODUCT_PROPERTY_OVERRIDES += \ - wifi.interface=eth0 \ - wifi.supplicant_scan_interval=15 \ - dalvik.vm.heapsize=32m + wifi.interface=wlan0 \ + wifi.supplicant_scan_interval=15 + +# Set default USB interface +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + persist.sys.usb.config=mass_storage + +include frameworks/base/build/phone-hdpi-512-dalvik-heap.mk # we have enough storage space to hold precise GC data PRODUCT_TAGS += dalvik.gc.type-precise -# Screen density is actually considered a locale (since it is taken into account -# the the build-time selection of resources). The product definitions including -# this file must pay attention to the fact that the first entry in the final -# PRODUCT_LOCALES expansion must not be a density. -PRODUCT_LOCALES := hdpi - +# Screen size is "normal", density is "hdpi" +PRODUCT_AAPT_CONFIG := normal hdpi ifeq ($(TARGET_PREBUILT_WIFI_MODULE),) LOCAL_WIFI_MODULE := device/samsung/crespo/bcm4329.ko |