| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [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 | # This file includes all definitions that apply to ALL tuna devices, and |
| 18 | # are also specific to tuna devices |
| 19 | # |
| 20 | # Everything in this directory will become public |
| 21 | |
| 22 | ifeq ($(TARGET_PREBUILT_KERNEL),) |
| 23 | LOCAL_KERNEL := device/samsung/tuna/kernel |
| 24 | else |
| 25 | LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) |
| 26 | endif |
| 27 | |
| 28 | DEVICE_PACKAGE_OVERLAYS := device/samsung/tuna/overlay |
| 29 | |
| Colin Cross | 07e2549 | 2011-05-04 17:33:38 -0700 | [diff] [blame] | 30 | PRODUCT_AAPT_CONFIG := normal hdpi xhdpi |
| 31 | |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 32 | # PRODUCT_PACKAGES := \ |
| 33 | # liblights.tuna |
| 34 | |
| 35 | PRODUCT_COPY_FILES := \ |
| 36 | $(LOCAL_KERNEL):kernel \ |
| 37 | device/samsung/tuna/init.tuna.rc:root/init.tuna.rc \ |
| 38 | device/samsung/tuna/ueventd.tuna.rc:root/ueventd.tuna.rc \ |
| 39 | device/samsung/tuna/media_profiles.xml:system/etc/media_profiles.xml |
| 40 | |
| Jaikumar Ganesh | cd4ae1d | 2011-05-26 11:20:29 -0700 | [diff] [blame] | 41 | # Bluetooth configuration files |
| Colin Cross | f2f0221 | 2011-05-27 18:47:21 -0700 | [diff] [blame] | 42 | PRODUCT_COPY_FILES += \ |
| Jaikumar Ganesh | cd4ae1d | 2011-05-26 11:20:29 -0700 | [diff] [blame] | 43 | system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf |
| 44 | |
| Dmitry Shmidt | 0f7779b | 2011-06-03 11:13:15 -0700 | [diff] [blame] | 45 | ifeq ($(TARGET_PREBUILT_WIFI_MODULE),) |
| 46 | LOCAL_WIFI_MODULE := device/samsung/tuna/bcmdhd.ko |
| 47 | else |
| 48 | LOCAL_WIFI_MODULE := $(TARGET_PREBUILT_WIFI_MODULE) |
| 49 | endif |
| 50 | |
| 51 | # Wifi |
| 52 | PRODUCT_COPY_FILES += \ |
| 53 | $(LOCAL_WIFI_MODULE):system/lib/modules/bcmdhd.ko \ |
| 54 | device/samsung/tuna/bcmdhd.cal:system/etc/wifi/bcmdhd.cal |
| 55 | |
| 56 | PRODUCT_PROPERTY_OVERRIDES := \ |
| 57 | wifi.interface=wlan0 \ |
| 58 | wifi.supplicant_scan_interval=15 |
| 59 | |
| Mike Lockwood | 5d319dd | 2011-06-08 16:44:16 -0700 | [diff] [blame^] | 60 | # Set default USB interface |
| 61 | ADDITIONAL_DEFAULT_PROPERTIES := \ |
| 62 | persist.sys.usb.config=mtp |
| 63 | |
| Colin Cross | c4b2568 | 2011-05-04 17:33:16 -0700 | [diff] [blame] | 64 | # Input device calibration files |
| 65 | PRODUCT_COPY_FILES += \ |
| 66 | device/samsung/tuna/Atmel_maXTouch_Touchscreen.idc:system/usr/idc/Atmel_maXTouch_Touchscreen.idc |
| 67 | |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 68 | # HACK: copy panda init for now to boot on both boards |
| 69 | PRODUCT_COPY_FILES += \ |
| 70 | device/ti/panda/init.omap4pandaboard.rc:root/init.omap4pandaboard.rc |
| 71 | |
| Dima Zavin | 069f305 | 2011-05-25 10:44:13 -0700 | [diff] [blame] | 72 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 73 | ro.opengles.version=131072 |
| 74 | |
| 75 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 76 | ro.sf.lcd_density=320 |
| 77 | |
| 78 | PRODUCT_CHARACTERISTICS := |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 79 | |
| 80 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 81 | |
| 82 | PRODUCT_PACKAGES += \ |
| 83 | librs_jni \ |
| 84 | com.android.future.usb.accessory |
| 85 | |
| Colin Cross | 9595154 | 2011-04-22 12:21:45 -0700 | [diff] [blame] | 86 | # Filesystem management tools |
| 87 | PRODUCT_PACKAGES += \ |
| Ken Sumrall | a8d86db | 2011-06-03 13:24:42 -0700 | [diff] [blame] | 88 | make_ext4fs \ |
| 89 | setup_fs |
| Colin Cross | 9595154 | 2011-04-22 12:21:45 -0700 | [diff] [blame] | 90 | |
| Dima Zavin | 069f305 | 2011-05-25 10:44:13 -0700 | [diff] [blame] | 91 | # XXX: should be including hd-phone-dalvik-heap.mk or something? |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 92 | $(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk) |
| Dima Zavin | 069f305 | 2011-05-25 10:44:13 -0700 | [diff] [blame] | 93 | |
| Colin Cross | c151bcf | 2011-04-11 18:49:38 -0700 | [diff] [blame] | 94 | $(call inherit-product-if-exists, vendor/ti/proprietary/omap4/ti-omap4-vendor.mk) |
| 95 | $(call inherit-product-if-exists, vendor/samsung/tuna/device-vendor.mk) |
| Dmitry Shmidt | 0f7779b | 2011-06-03 11:13:15 -0700 | [diff] [blame] | 96 | |
| 97 | BOARD_WLAN_DEVICE_REV := bcm4330_b1 |
| 98 | $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/device-bcm.mk) |