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/ti/panda/kernel 19 else 20 LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) 21 endif 22 23 PRODUCT_COPY_FILES := \ 24 $(LOCAL_KERNEL):kernel \ 25 device/ti/panda/init.omap4pandaboard.rc:root/init.omap4pandaboard.rc \ 26 device/ti/panda/init.omap4pandaboard.usb.rc:root/init.omap4pandaboard.usb.rc \ 27 device/ti/panda/fstab.omap4pandaboard:root/fstab.omap4pandaboard \ 28 device/ti/panda/ueventd.omap4pandaboard.rc:root/ueventd.omap4pandaboard.rc \ 29 device/ti/panda/media_profiles.xml:system/etc/media_profiles.xml \ 30 device/ti/panda/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ 31 device/ti/panda/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ 32 frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ 33 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ 34 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml 35 36 PRODUCT_PACKAGES := \ 37 com.android.future.usb.accessory 38 39 PRODUCT_PROPERTY_OVERRIDES := \ 40 wifi.interface=wlan0 \ 41 hwui.render_dirty_regions=false 42 43 PRODUCT_CHARACTERISTICS := tablet,nosdcard 44 45 DEVICE_PACKAGE_OVERLAYS := \ 46 device/ti/panda/overlay 47 48 #HWC Hal 49 PRODUCT_PACKAGES += \ 50 hwcomposer.omap4 51 52 PRODUCT_TAGS += dalvik.gc.type-precise 53 54 PRODUCT_PACKAGES += \ 55 librs_jni \ 56 com.android.future.usb.accessory 57 58 # Audio 59 PRODUCT_PACKAGES += \ 60 audio.primary.panda \ 61 audio.a2dp.default 62 63 PRODUCT_COPY_FILES += \ 64 device/ti/panda/audio/audio_policy.conf:system/etc/audio_policy.conf 65 66 PRODUCT_PACKAGES += \ 67 dhcpcd.conf \ 68 TQS_D_1.7.ini \ 69 calibrator 70 71 # Filesystem management tools 72 PRODUCT_PACKAGES += \ 73 setup_fs 74 75 # BlueZ test tools 76 PRODUCT_PACKAGES += \ 77 hciconfig \ 78 hcitool 79 80 PRODUCT_PACKAGES += send_bug 81 PRODUCT_COPY_FILES += \ 82 system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \ 83 system/extras/bugmailer/send_bug:system/bin/send_bug 84 85 PRODUCT_PROPERTY_OVERRIDES += \ 86 ro.sf.lcd_density=160 87 88 $(call inherit-product-if-exists, vendor/ti/panda/device-vendor.mk) 89 $(call inherit-product, frameworks/native/build/tablet-dalvik-heap.mk) 90 $(call inherit-product, hardware/ti/omap4xxx/omap4.mk) 91 $(call inherit-product-if-exists, vendor/ti/proprietary/omap4/ti-omap4-vendor.mk) 92 $(call inherit-product, device/ti/panda/wl12xx/ti-wl12xx-vendor.mk) 93 $(call inherit-product, device/ti/panda/wl12xx/ti-wpan-products.mk) 94