1 #!/bin/sh 2 3 # Copyright (C) 2010 The Android Open Source Project 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # you may not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 17 DEVICE=sapphire 18 19 mkdir -p ../../../vendor/htc/$DEVICE 20 21 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g > ../../../vendor/htc/$DEVICE/device_$DEVICE-vendor.mk 22 # Copyright (C) 2010 The Android Open Source Project 23 # 24 # Licensed under the Apache License, Version 2.0 (the "License"); 25 # you may not use this file except in compliance with the License. 26 # You may obtain a copy of the License at 27 # 28 # http://www.apache.org/licenses/LICENSE-2.0 29 # 30 # Unless required by applicable law or agreed to in writing, software 31 # distributed under the License is distributed on an "AS IS" BASIS, 32 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 33 # See the License for the specific language governing permissions and 34 # limitations under the License. 35 36 # This file is generated by device/htc/__DEVICE__/setup-makefiles.sh 37 38 \$(call inherit-product, vendor/htc/__DEVICE__/device___DEVICE__-vendor-blobs.mk) 39 EOF 40 41 (cat << EOF) | sed s/__DEVICE__/$DEVICE/g > ../../../vendor/htc/$DEVICE/BoardConfigVendor.mk 42 # Copyright (C) 2010 The Android Open Source Project 43 # 44 # Licensed under the Apache License, Version 2.0 (the "License"); 45 # you may not use this file except in compliance with the License. 46 # You may obtain a copy of the License at 47 # 48 # http://www.apache.org/licenses/LICENSE-2.0 49 # 50 # Unless required by applicable law or agreed to in writing, software 51 # distributed under the License is distributed on an "AS IS" BASIS, 52 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 53 # See the License for the specific language governing permissions and 54 # limitations under the License. 55 56 # This file is generated by device/htc/__DEVICE__/setup-makefiles.sh 57 58 BOARD_GPS_LIBRARIES := libgps 59 60 USE_CAMERA_STUB := false 61 EOF 62