-
Notifications
You must be signed in to change notification settings - Fork 5
/
sholest-blobs.mk
49 lines (46 loc) · 2.7 KB
/
sholest-blobs.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,BOARD
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Prebuilt libraries that are needed to build open-source libraries
DEVICE_PREBUILT := device/motorola/sholest/prebuilt
PREBUILT_DIR =
PRODUCT_COPY_FILES := \
device/motorola/sholest/proprietary/lib/libgps.so:obj/lib/libgps.so \
device/motorola/sholest/proprietary/lib/libcamera.so:obj/lib/libcamera.so \
device/motorola/sholest/proprietary/lib/libaudio.so:obj/lib/libaudio.so \
device/motorola/sholest/proprietary/lib/libril-moto-umts-1.so:obj/lib/libril-moto-umts-1.so \
device/motorola/sholest/proprietary/lib/hw/gralloc.omap3.so:obj/lib/hw/gralloc.omap3.so \
device/motorola/sholest/proprietary/lib/hw/gps.sholest.so:obj/lib/hw/gps.sholest.so
#KEYBOARD
PRODUCT_COPY_FILES += \
$(DEVICE_PREBUILT)/usr/idc/internal.idc:system/usr/idc/lm3530_led.idc \
$(DEVICE_PREBUILT)/usr/idc/internal.idc:system/usr/idc/accelerometer.idc \
$(DEVICE_PREBUILT)/usr/idc/internal.idc:system/usr/idc/compass.idc \
$(DEVICE_PREBUILT)/usr/idc/internal.idc:system/usr/idc/light.idc \
$(DEVICE_PREBUILT)/usr/idc/internal.idc:system/usr/idc/proximity.idc \
$(DEVICE_PREBUILT)/usr/idc/sholes-keypad.idc:system/usr/idc/sholes-keypad.idc \
$(DEVICE_PREBUILT)/usr/idc/cpcap-key.idc:system/usr/idc/cpcap-key.idc \
$(DEVICE_PREBUILT)/usr/idc/qtouch-touchscreen.idc:system/usr/idc/qtouch-touchscreen.idc \
$(DEVICE_PREBUILT)/usr/qwerty.kl:system/usr/keylayout/qwerty.kl \
$(DEVICE_PREBUILT)/usr/qwerty.kl:system/usr/keylayout/qtouch-touchscreen.kl \
$(DEVICE_PREBUILT)/usr/keypad.kl:system/usr/keylayout/sholes-keypad.kl \
$(DEVICE_PREBUILT)/usr/keypad.kl:system/usr/keylayout/umts_jordan-keypad.kl \
$(DEVICE_PREBUILT)/usr/cpcap-key.kl:system/usr/keylayout/cpcap-key.kl \
$(DEVICE_PREBUILT)/usr/keychars/cpcap-key.kcm:system/usr/keychars/cpcap-key.kcm \
$(DEVICE_PREBUILT)/../bootanimation.zip:/system/media/bootanimation.zip
# All the blobs necessary
# copy all files under the "proprietary" directory to system
PRODUCT_COPY_FILES += $(shell \
find device/motorola/sholest/proprietary/ -type f \
| sed -r 's/^(device\/motorola\/sholest\/proprietary)(.*)$$/\1\2:\/system\2/' \
| tr '\n' ' ')