xplodwild | b8efee1 | 2014-04-27 15:46:20 +0200 | [diff] [blame] | 1 | # Copyright (C) 2010 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # |
| 16 | # This file is the build configuration for a full Android |
| 17 | # build for grouper hardware. This cleanly combines a set of |
| 18 | # device-specific aspects (drivers) with a device-agnostic |
| 19 | # product configuration (apps). |
| 20 | # |
| 21 | |
| 22 | # Sample: This is where we'd set a backup provider if we had one |
| 23 | # $(call inherit-product, device/sample/products/backup_overlay.mk) |
| 24 | |
| 25 | # Get the prebuilt list of APNs |
| 26 | $(call inherit-product, vendor/omni/config/gsm.mk) |
| 27 | |
| 28 | # Inherit from the common Open Source product configuration |
| 29 | $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) |
| 30 | |
| 31 | # Inherit from our custom product configuration |
| 32 | $(call inherit-product, vendor/omni/config/common.mk) |
| 33 | |
| 34 | # Inherit from hardware-specific part of the product configuration |
| 35 | $(call inherit-product, device/oppo/find7a/device.mk) |
| 36 | |
| 37 | # Discard inherited values and use our own instead. |
| 38 | PRODUCT_NAME := omni_find7a |
| 39 | PRODUCT_DEVICE := find7a |
| 40 | PRODUCT_BRAND := Oppo |
| 41 | PRODUCT_MODEL := Find7a |
| 42 | PRODUCT_MANUFACTURER := Oppo |
| 43 | |
| 44 | # Inline kernel |
| 45 | TARGET_KERNEL_SOURCE := kernel/oppo/msm8974 |
| 46 | TARGET_KERNEL_CONFIG := msm8974_find7_defconfig |
| 47 | |
| 48 | # Inherit from proprietary blobs |
| 49 | $(call inherit-product-if-exists, vendor/oppo/find7a/find7a-vendor.mk) |
| 50 | |