initial device bring up

This commit is contained in:
havok87 2014-01-12 01:22:04 -05:00
parent 76428ec834
commit 77b56f45d5
5 changed files with 62 additions and 2 deletions

View file

@ -14,4 +14,6 @@
# limitations under the License.
#
PRODUCT_MAKEFILES := $(LOCAL_DIR)/aosp_deb.mk
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_deb.mk \
$(LOCAL_DIR)/omni_deb.mk

View file

@ -45,6 +45,6 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
$(call inherit-product, device/asus/flo/device-common.mk)
# inherit from the non-open-source side, if present
$(call inherit-product-if-exists, vendor/asus/deb/device-vendor.mk)
$(call inherit-product-if-exists, vendor/asus/deb/deb-vendor.mk)
DEVICE_PACKAGE_OVERLAYS := device/asus/deb/overlay

12
omni.dependencies Normal file
View file

@ -0,0 +1,12 @@
[
{
"remote": "omnirom",
"repository": "android_kernel_google_msm",
"target_path": "kernel/asus/flo",
"revision": "android-msm-flo-3.4-kitkat-mr0"
},
{
"repository": "android_device_asus_flo",
"target_path": "device/asus/flo"
}
]

45
omni_deb.mk Normal file
View file

@ -0,0 +1,45 @@
#
# Copyright 2012 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,
# 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.
#
# Sample: This is where we'd set a backup provider if we had one
# $(call inherit-product, device/sample/products/backup_overlay.mk)
# Get the long list of APNs
$(call inherit-product, vendor/omni/config/gsm.mk)
# Inherit from the common Open Source product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
# Inherit from our custom product configuration
$(call inherit-product, vendor/omni/config/common.mk)
PRODUCT_NAME := omni_deb
PRODUCT_DEVICE := deb
PRODUCT_BRAND := Android
PRODUCT_MODEL := Nexus 7 2013 LTE
PRODUCT_MANUFACTURER := ASUS
PRODUCT_RESTRICT_VENDOR_FILES := false
# Kernel inline build
TARGET_KERNEL_SOURCE := kernel/asus/flo
TARGET_KERNEL_CONFIG := flo_defconfig
TARGET_VARIANT_CONFIG := flo_defconfig
TARGET_SELINUX_CONFIG := flo_defconfig
# Inherit from hardware-specific part of the product configuration
$(call inherit-product, device/asus/deb/device.mk)
$(call inherit-product-if-exists, vendor/asus/deb/deb-vendor.mk)
#$(call inherit-product-if-exists, vendor/qcom/proprietary/common/config/device-vendor.mk)

View file

@ -15,3 +15,4 @@
#
add_lunch_combo aosp_deb-userdebug
add_lunch_combo omni_deb-userdebug