Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 The Android Open-Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | ifeq ($(TARGET_PREBUILT_KERNEL),) |
| 18 | LOCAL_KERNEL := device/samsung/manta/kernel |
| 19 | else |
| 20 | LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) |
| 21 | endif |
| 22 | |
Dima Zavin | a67dcf2 | 2012-02-22 14:52:22 -0800 | [diff] [blame] | 23 | PRODUCT_COPY_FILES := \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 24 | $(LOCAL_KERNEL):kernel \ |
| 25 | device/samsung/manta/init.manta.rc:root/init.manta.rc \ |
| 26 | device/samsung/manta/init.manta.usb.rc:root/init.manta.usb.rc \ |
Ken Sumrall | fa170c7 | 2012-04-12 14:40:39 -0700 | [diff] [blame] | 27 | device/samsung/manta/fstab.manta:root/fstab.manta \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 28 | device/samsung/manta/ueventd.manta.rc:root/ueventd.manta.rc |
Colin Cross | 29380e6 | 2012-03-06 17:41:22 -0800 | [diff] [blame] | 29 | |
Dima Zavin | 50acc67 | 2012-03-09 14:16:43 -0800 | [diff] [blame] | 30 | # Input device files for manta |
| 31 | PRODUCT_COPY_FILES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 32 | device/samsung/manta/Atmel_maXTouch_Touchscreen.idc:system/usr/idc/Atmel_maXTouch_Touchscreen.idc \ |
| 33 | device/samsung/manta/manta-keypad.kl:system/usr/keylayout/manta-keypad.kl \ |
| 34 | device/samsung/manta/manta-keypad.kcm:system/usr/keychars/manta-keypad.kcm |
Dima Zavin | 50acc67 | 2012-03-09 14:16:43 -0800 | [diff] [blame] | 35 | |
| 36 | |
Colin Cross | 29380e6 | 2012-03-06 17:41:22 -0800 | [diff] [blame] | 37 | # Init files for booting smdk5250 with a manta image |
| 38 | PRODUCT_COPY_FILES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 39 | device/samsung/manta/init.smdk5250.rc:root/init.smdk5250.rc \ |
| 40 | device/samsung/manta/init.smdk5250.usb.rc:root/init.smdk5250.usb.rc \ |
Ken Sumrall | fa170c7 | 2012-04-12 14:40:39 -0700 | [diff] [blame] | 41 | device/samsung/manta/fstab.smdk5250:root/fstab.smdk5250 \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 42 | device/samsung/manta/ueventd.smdk5250.rc:root/ueventd.smdk5250.rc |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 43 | |
Dima Zavin | 40cec16 | 2012-02-22 23:52:19 -0800 | [diff] [blame] | 44 | # Input device files for smdk5250 |
| 45 | PRODUCT_COPY_FILES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 46 | device/samsung/manta/egalax_i2c.idc:system/usr/idc/egalax_i2c.idc \ |
| 47 | device/samsung/manta/smdk5250-keypad.kl:system/usr/keylayout/smdk5250-keypad.kl \ |
| 48 | device/samsung/manta/smdk5250-keypad.kcm:system/usr/keychars/smdk5250-keypad.kcm |
Dima Zavin | 40cec16 | 2012-02-22 23:52:19 -0800 | [diff] [blame] | 49 | |
Dima Zavin | 4dcb383 | 2012-03-02 10:54:58 -0800 | [diff] [blame] | 50 | PRODUCT_COPY_FILES += \ |
Colin Cross | 91cba43 | 2012-03-26 16:25:50 -0700 | [diff] [blame] | 51 | frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ |
| 52 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
Rebecca Schultz Zavin | c2c95e1 | 2012-04-04 16:26:48 -0700 | [diff] [blame] | 53 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
Dmitry Shmidt | d8b1fa6 | 2012-07-10 18:35:48 -0700 | [diff] [blame] | 54 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
Rebecca Schultz Zavin | c2c95e1 | 2012-04-04 16:26:48 -0700 | [diff] [blame] | 55 | device/samsung/manta/media_codecs.xml:system/etc/media_codecs.xml \ |
Dima Zavin | b1c206d | 2012-05-01 22:07:43 -0700 | [diff] [blame] | 56 | frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml \ |
| 57 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
Rebecca Schultz Zavin | c2c95e1 | 2012-04-04 16:26:48 -0700 | [diff] [blame] | 58 | |
Dmitry Shmidt | e87ec97 | 2012-03-16 09:43:07 -0700 | [diff] [blame] | 59 | |
| 60 | PRODUCT_COPY_FILES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 61 | device/samsung/manta/bcmdhd.cal:system/etc/wifi/bcmdhd.cal |
Dima Zavin | 4dcb383 | 2012-03-02 10:54:58 -0800 | [diff] [blame] | 62 | |
Simon Wilson | 15f60a8 | 2012-04-24 20:56:32 -0700 | [diff] [blame] | 63 | # audio mixer paths |
| 64 | PRODUCT_COPY_FILES += \ |
| 65 | device/samsung/manta/mixer_paths.xml:system/etc/mixer_paths.xml |
Eric Laurent | 8753203 | 2012-07-16 13:53:20 -0700 | [diff] [blame] | 66 | # audio mixer paths for lunch box: remove when deprecated |
| 67 | PRODUCT_COPY_FILES += \ |
| 68 | device/samsung/manta/mixer_paths_lb.xml:system/etc/mixer_paths_lb.xml |
Simon Wilson | 15f60a8 | 2012-04-24 20:56:32 -0700 | [diff] [blame] | 69 | |
| 70 | # audio policy configuration |
| 71 | PRODUCT_COPY_FILES += \ |
| 72 | device/samsung/manta/audio_policy.conf:system/etc/audio_policy.conf |
| 73 | |
Jason Chen | 73da459 | 2012-06-08 08:50:25 -0700 | [diff] [blame] | 74 | # for bugmailer |
Dmitry Shmidt | d868071 | 2012-07-11 17:16:26 -0700 | [diff] [blame] | 75 | PRODUCT_PACKAGES := send_bug |
Jason Chen | 73da459 | 2012-06-08 08:50:25 -0700 | [diff] [blame] | 76 | PRODUCT_COPY_FILES += \ |
| 77 | system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \ |
| 78 | system/extras/bugmailer/send_bug:system/bin/send_bug |
| 79 | |
Bono Koo | c3e28db | 2012-06-21 13:41:36 +0900 | [diff] [blame] | 80 | # BCM47511 GPS |
| 81 | PRODUCT_COPY_FILES += \ |
| 82 | device/samsung/manta/gps/gps.conf:system/etc/gps.conf \ |
| 83 | device/samsung/manta/gps/gpsd:system/vendor/bin/gpsd \ |
| 84 | device/samsung/manta/gps/gps.xml:system/vendor/etc/gps.xml \ |
| 85 | device/samsung/manta/gps/gps.exynos5.so:system/lib/hw/gps.exynos5.so |
| 86 | |
Dmitry Shmidt | d868071 | 2012-07-11 17:16:26 -0700 | [diff] [blame] | 87 | PRODUCT_PACKAGES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 88 | make_ext4fs \ |
JP Abgrall | 5dcc6c9 | 2012-05-31 20:39:43 -0700 | [diff] [blame] | 89 | lights.manta \ |
| 90 | sensors.manta |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 91 | |
Colin Cross | 7047698 | 2012-03-09 12:22:30 -0800 | [diff] [blame] | 92 | PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi |
| 93 | PRODUCT_AAPT_PREF_CONFIG := xhdpi |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 94 | |
| 95 | PRODUCT_CHARACTERISTICS := tablet,nosdcard |
| 96 | |
| 97 | DEVICE_PACKAGE_OVERLAYS := \ |
| 98 | device/samsung/manta/overlay |
| 99 | |
Dima Zavin | e6046d3 | 2012-03-01 18:45:13 -0800 | [diff] [blame] | 100 | # for now include gralloc here. should come from hardware/samsung_slsi/exynos5 |
| 101 | PRODUCT_PACKAGES += \ |
| 102 | gralloc.exynos5 |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 103 | |
Jean-Baptiste Queru | 9267157 | 2012-07-26 15:04:02 -0700 | [diff] [blame] | 104 | PRODUCT_PACKAGES += \ |
| 105 | libion |
| 106 | |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 107 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 108 | |
| 109 | PRODUCT_PACKAGES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 110 | librs_jni \ |
| 111 | com.android.future.usb.accessory |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 112 | |
| 113 | PRODUCT_PACKAGES += \ |
Simon Wilson | 15f60a8 | 2012-04-24 20:56:32 -0700 | [diff] [blame] | 114 | audio.primary.manta \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 115 | audio.a2dp.default |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 116 | |
Arve Hjønnevåg | 59c0d46 | 2012-03-16 18:51:11 -0700 | [diff] [blame] | 117 | PRODUCT_PACKAGES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 118 | power.manta |
Arve Hjønnevåg | 59c0d46 | 2012-03-16 18:51:11 -0700 | [diff] [blame] | 119 | |
Dima Zavin | b1c206d | 2012-05-01 22:07:43 -0700 | [diff] [blame] | 120 | PRODUCT_PACKAGES += \ |
| 121 | camera.exynos5 |
| 122 | |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 123 | # Filesystem management tools |
| 124 | PRODUCT_PACKAGES += \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 125 | make_ext4fs |
Dima Zavin | 7e497e3 | 2012-02-07 14:51:59 -0800 | [diff] [blame] | 126 | |
Dmitry Shmidt | e87ec97 | 2012-03-16 09:43:07 -0700 | [diff] [blame] | 127 | PRODUCT_PROPERTY_OVERRIDES := \ |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 128 | wifi.interface=wlan0 \ |
| 129 | ro.sf.lcd_density=320 |
Dmitry Shmidt | e87ec97 | 2012-03-16 09:43:07 -0700 | [diff] [blame] | 130 | |
Dima Zavin | b32016c | 2012-03-23 14:07:12 -0700 | [diff] [blame] | 131 | # setup dalvik vm configs. |
| 132 | # this is temporary until we figure out what the new |
| 133 | # framework config should be for devices of this class: |
| 134 | # Currently, this device is: |
| 135 | # xhdpi |
| 136 | # xlarge screen (tablet) |
| 137 | # 2560x1600 resolution (high end?) |
| 138 | # 2048MB RAM |
| 139 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 140 | dalvik.vm.heapstartsize=8m \ |
| 141 | dalvik.vm.heapgrowthlimit=64m \ |
| 142 | dalvik.vm.heapsize=256m |
| 143 | |
Benoit Goby | 0b60f39 | 2012-07-11 17:16:29 -0700 | [diff] [blame] | 144 | # set default USB configuration |
| 145 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 146 | persist.sys.usb.config=mtp |
| 147 | |
Jeong-Seok Yang | cbee0e3 | 2012-04-30 14:21:42 +0900 | [diff] [blame] | 148 | # for off charging mode |
| 149 | PRODUCT_PACKAGES += \ |
| 150 | charger \ |
| 151 | charger_res_images |
| 152 | |
Dima Zavin | 3266d86 | 2012-04-09 15:23:45 -0700 | [diff] [blame] | 153 | $(call inherit-product, hardware/samsung_slsi/exynos5/exynos5.mk) |
Dima Zavin | 6c0d627 | 2012-03-23 14:04:58 -0700 | [diff] [blame] | 154 | $(call inherit-product-if-exists, vendor/samsung_slsi/exynos5/exynos5-vendor.mk) |
| 155 | $(call inherit-product-if-exists, vendor/samsung/manta/device-vendor.mk) |
Dima Zavin | 6c0d627 | 2012-03-23 14:04:58 -0700 | [diff] [blame] | 156 | |
Ying Wang | dbd93a5 | 2012-03-21 17:42:22 -0700 | [diff] [blame] | 157 | $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4324/device-bcm.mk) |