blob: d2d4e510072d769ce10f48763187c74d1fb56e04 [file] [log] [blame]
Dima Zavin7e497e32012-02-07 14:51:59 -08001#
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
17ifeq ($(TARGET_PREBUILT_KERNEL),)
18LOCAL_KERNEL := device/samsung/manta/kernel
19else
20LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
21endif
22
Dima Zavina67dcf22012-02-22 14:52:22 -080023PRODUCT_COPY_FILES := \
Ying Wangdbd93a52012-03-21 17:42:22 -070024 $(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 Sumrallfa170c72012-04-12 14:40:39 -070027 device/samsung/manta/fstab.manta:root/fstab.manta \
Ying Wangdbd93a52012-03-21 17:42:22 -070028 device/samsung/manta/ueventd.manta.rc:root/ueventd.manta.rc
Colin Cross29380e62012-03-06 17:41:22 -080029
Dima Zavin50acc672012-03-09 14:16:43 -080030# Input device files for manta
31PRODUCT_COPY_FILES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070032 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 Zavin50acc672012-03-09 14:16:43 -080035
36
Colin Cross29380e62012-03-06 17:41:22 -080037# Init files for booting smdk5250 with a manta image
38PRODUCT_COPY_FILES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070039 device/samsung/manta/init.smdk5250.rc:root/init.smdk5250.rc \
40 device/samsung/manta/init.smdk5250.usb.rc:root/init.smdk5250.usb.rc \
Ken Sumrallfa170c72012-04-12 14:40:39 -070041 device/samsung/manta/fstab.smdk5250:root/fstab.smdk5250 \
Ying Wangdbd93a52012-03-21 17:42:22 -070042 device/samsung/manta/ueventd.smdk5250.rc:root/ueventd.smdk5250.rc
Dima Zavin7e497e32012-02-07 14:51:59 -080043
Dima Zavin40cec162012-02-22 23:52:19 -080044# Input device files for smdk5250
45PRODUCT_COPY_FILES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070046 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 Zavin40cec162012-02-22 23:52:19 -080049
Dima Zavin4dcb3832012-03-02 10:54:58 -080050PRODUCT_COPY_FILES += \
Colin Cross91cba432012-03-26 16:25:50 -070051 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 Zavinc2c95e12012-04-04 16:26:48 -070053 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
Dmitry Shmidtd8b1fa62012-07-10 18:35:48 -070054 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
Rebecca Schultz Zavinc2c95e12012-04-04 16:26:48 -070055 device/samsung/manta/media_codecs.xml:system/etc/media_codecs.xml \
Dima Zavinb1c206d2012-05-01 22:07:43 -070056 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 Zavinc2c95e12012-04-04 16:26:48 -070058
Dmitry Shmidte87ec972012-03-16 09:43:07 -070059
60PRODUCT_COPY_FILES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070061 device/samsung/manta/bcmdhd.cal:system/etc/wifi/bcmdhd.cal
Dima Zavin4dcb3832012-03-02 10:54:58 -080062
Simon Wilson15f60a82012-04-24 20:56:32 -070063# audio mixer paths
64PRODUCT_COPY_FILES += \
65 device/samsung/manta/mixer_paths.xml:system/etc/mixer_paths.xml
Eric Laurent87532032012-07-16 13:53:20 -070066# audio mixer paths for lunch box: remove when deprecated
67PRODUCT_COPY_FILES += \
68 device/samsung/manta/mixer_paths_lb.xml:system/etc/mixer_paths_lb.xml
Simon Wilson15f60a82012-04-24 20:56:32 -070069
70# audio policy configuration
71PRODUCT_COPY_FILES += \
72 device/samsung/manta/audio_policy.conf:system/etc/audio_policy.conf
73
Jason Chen73da4592012-06-08 08:50:25 -070074# for bugmailer
Dmitry Shmidtd8680712012-07-11 17:16:26 -070075PRODUCT_PACKAGES := send_bug
Jason Chen73da4592012-06-08 08:50:25 -070076PRODUCT_COPY_FILES += \
77 system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \
78 system/extras/bugmailer/send_bug:system/bin/send_bug
79
Bono Kooc3e28db2012-06-21 13:41:36 +090080# BCM47511 GPS
81PRODUCT_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 Shmidtd8680712012-07-11 17:16:26 -070087PRODUCT_PACKAGES += \
Ying Wangdbd93a52012-03-21 17:42:22 -070088 make_ext4fs \
JP Abgrall5dcc6c92012-05-31 20:39:43 -070089 lights.manta \
90 sensors.manta
Dima Zavin7e497e32012-02-07 14:51:59 -080091
Colin Cross70476982012-03-09 12:22:30 -080092PRODUCT_AAPT_CONFIG := xlarge hdpi xhdpi
93PRODUCT_AAPT_PREF_CONFIG := xhdpi
Dima Zavin7e497e32012-02-07 14:51:59 -080094
95PRODUCT_CHARACTERISTICS := tablet,nosdcard
96
97DEVICE_PACKAGE_OVERLAYS := \
98 device/samsung/manta/overlay
99
Dima Zavine6046d32012-03-01 18:45:13 -0800100# for now include gralloc here. should come from hardware/samsung_slsi/exynos5
101PRODUCT_PACKAGES += \
102 gralloc.exynos5
Dima Zavin7e497e32012-02-07 14:51:59 -0800103
Jean-Baptiste Queru92671572012-07-26 15:04:02 -0700104PRODUCT_PACKAGES += \
105 libion
106
Dima Zavin7e497e32012-02-07 14:51:59 -0800107PRODUCT_TAGS += dalvik.gc.type-precise
108
109PRODUCT_PACKAGES += \
Ying Wangdbd93a52012-03-21 17:42:22 -0700110 librs_jni \
111 com.android.future.usb.accessory
Dima Zavin7e497e32012-02-07 14:51:59 -0800112
113PRODUCT_PACKAGES += \
Simon Wilson15f60a82012-04-24 20:56:32 -0700114 audio.primary.manta \
Ying Wangdbd93a52012-03-21 17:42:22 -0700115 audio.a2dp.default
Dima Zavin7e497e32012-02-07 14:51:59 -0800116
Arve Hjønnevåg59c0d462012-03-16 18:51:11 -0700117PRODUCT_PACKAGES += \
Ying Wangdbd93a52012-03-21 17:42:22 -0700118 power.manta
Arve Hjønnevåg59c0d462012-03-16 18:51:11 -0700119
Dima Zavinb1c206d2012-05-01 22:07:43 -0700120PRODUCT_PACKAGES += \
121 camera.exynos5
122
Dima Zavin7e497e32012-02-07 14:51:59 -0800123# Filesystem management tools
124PRODUCT_PACKAGES += \
Ying Wangdbd93a52012-03-21 17:42:22 -0700125 make_ext4fs
Dima Zavin7e497e32012-02-07 14:51:59 -0800126
Dmitry Shmidte87ec972012-03-16 09:43:07 -0700127PRODUCT_PROPERTY_OVERRIDES := \
Ying Wangdbd93a52012-03-21 17:42:22 -0700128 wifi.interface=wlan0 \
129 ro.sf.lcd_density=320
Dmitry Shmidte87ec972012-03-16 09:43:07 -0700130
Dima Zavinb32016c2012-03-23 14:07:12 -0700131# 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
139PRODUCT_PROPERTY_OVERRIDES += \
140 dalvik.vm.heapstartsize=8m \
141 dalvik.vm.heapgrowthlimit=64m \
142 dalvik.vm.heapsize=256m
143
Benoit Goby0b60f392012-07-11 17:16:29 -0700144# set default USB configuration
145PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
146 persist.sys.usb.config=mtp
147
Jeong-Seok Yangcbee0e32012-04-30 14:21:42 +0900148# for off charging mode
149PRODUCT_PACKAGES += \
150 charger \
151 charger_res_images
152
Dima Zavin3266d862012-04-09 15:23:45 -0700153$(call inherit-product, hardware/samsung_slsi/exynos5/exynos5.mk)
Dima Zavin6c0d6272012-03-23 14:04:58 -0700154$(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 Zavin6c0d6272012-03-23 14:04:58 -0700156
Ying Wangdbd93a52012-03-21 17:42:22 -0700157$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4324/device-bcm.mk)