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/ueventd.omap4pandaboard.rc:root/ueventd.omap4pandaboard.rc \ 28 device/ti/panda/media_profiles.xml:system/etc/media_profiles.xml \ 29 frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ 30 frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml 31 32 PRODUCT_PACKAGES := \ 33 make_ext4fs \ 34 com.android.future.usb.accessory 35 36 PRODUCT_PROPERTY_OVERRIDES := \ 37 hwui.render_dirty_regions=false 38 39 PRODUCT_CHARACTERISTICS := tablet,nosdcard 40 41 DEVICE_PACKAGE_OVERLAYS := \ 42 device/ti/panda/overlay 43 44 PRODUCT_TAGS += dalvik.gc.type-precise 45 46 PRODUCT_PACKAGES += \ 47 librs_jni \ 48 com.android.future.usb.accessory 49 50 # Filesystem management tools 51 PRODUCT_PACKAGES += \ 52 make_ext4fs 53 54 $(call inherit-product-if-exists, vendor/ti/panda/device-vendor.mk) 55 $(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk) 56 $(call inherit-product, hardware/ti/omap4xxx/omap4.mk) 57 $(call inherit-product-if-exists, vendor/ti/proprietary/omap4/ti-omap4-vendor.mk) 58