aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormosimchah <mosimchah@gmail.com>2017-02-17 06:16:41 -0500
committermosimchah <mosimchah@gmail.com>2017-02-17 06:22:20 -0500
commite679290701042fb1eb4b5c7bfc306a0a049fbc7b (patch)
tree25e86f65453f7ee61a6007c7c4145eeb5f6a262a
parent2da932d30d8fdd4c308d26d80737d2b754de28fa (diff)
AICPify
Change-Id: Iafd3b552bcef62cc2ce318aec3123443967fa0cf
-rw-r--r--BoardConfig.mk2
-rw-r--r--aicp.dependencies32
-rw-r--r--aicp.mk (renamed from lineage.mk)12
-rw-r--r--lineage.dependencies6
-rw-r--r--vendorsetup.sh23
5 files changed, 65 insertions, 10 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 1058220..a1cdfda 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -36,7 +36,7 @@ TARGET_RELEASETOOLS_EXTENSIONS := device/lge/w7/releasetools
TARGET_BOOTLOADER_BOARD_NAME := w7
# Kernel
-TARGET_KERNEL_CONFIG := w7ds_lineageos_defconfig
+TARGET_KERNEL_CONFIG := stormysea_defconfig
# Filesystem,
BOARD_FLASH_BLOCK_SIZE := 131072
diff --git a/aicp.dependencies b/aicp.dependencies
new file mode 100644
index 0000000..f212322
--- /dev/null
+++ b/aicp.dependencies
@@ -0,0 +1,32 @@
+[
+ {
+ "repository": "LineageOS/android_device_lge_msm8226-common",
+ "target_path": "device/lge/msm8226-common",
+ "branch": "cm-14.1"
+ },
+ {
+ "repository": "LineageOS/android_device_qcom_common",
+ "target_path": "device/qcom/common",
+ "branch": "cm-14.1"
+ },
+ {
+ "repository": "LineageOS/android_kernel_lge_msm8226",
+ "target_path": "kernel/lge/msm8226",
+ "branch": "cm-14.1"
+ },
+ {
+ "repository": "LineageOS/android_external_sony_boringssl-compat",
+ "target_path": "external/sony/boringssl-compat",
+ "branch": "cm-14.1"
+ },
+ {
+ "repository": "LineageOS/android_packages_resources_devicesettings",
+ "target_path": "packages/resources/devicesettings",
+ "branch": "cm-14.1"
+ },
+ {
+ "repository": "TheMuppets/proprietary_vendor_lge",
+ "target_path": "vendor/lge",
+ "branch": "cm-14.1"
+ }
+]
diff --git a/lineage.mk b/aicp.mk
index 5266c16..e0af5d4 100644
--- a/lineage.mk
+++ b/aicp.mk
@@ -1,5 +1,7 @@
-# Inherit some common CM stuff.
-$(call inherit-product, vendor/cm/config/common_full_phone.mk)
+# Inherit some common AICP stuff.
+$(call inherit-product, vendor/aicp/configs/common.mk)
+$(call inherit-product, vendor/aicp/configs/telephony.mk)
+$(call inherit-product, vendor/aicp/configs/gsm.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, device/lge/w7/device_w7.mk)
@@ -9,8 +11,12 @@ TARGET_SCREEN_HEIGHT := 960
# Release name
PRODUCT_RELEASE_NAME := LG L90
-PRODUCT_NAME := lineage_w7
+PRODUCT_NAME := aicp_w7
PRODUCT_MODEL := w7
PRODUCT_DEVICE := w7
PRODUCT_MANUFACTURER := LGE
PRODUCT_BRAND := lge
+
+# AICP Device Maintainers
+PRODUCT_BUILD_PROP_OVERRIDES += \
+ DEVICE_MAINTAINERS="Moshe Bararsh (mosimchah)"
diff --git a/lineage.dependencies b/lineage.dependencies
deleted file mode 100644
index 8b00b77..0000000
--- a/lineage.dependencies
+++ /dev/null
@@ -1,6 +0,0 @@
-[
- {
- "repository": "android_device_lge_msm8226-common",
- "target_path": "device/lge/msm8226-common"
- }
-]
diff --git a/vendorsetup.sh b/vendorsetup.sh
new file mode 100644
index 0000000..ba8b7b6
--- /dev/null
+++ b/vendorsetup.sh
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2008 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.
+#
+
+# This file is executed by build/envsetup.sh, and can use anything
+# defined in envsetup.sh.
+#
+# In particular, you can add lunch options with the add_lunch_combo
+# function: add_lunch_combo generic-eng
+
+add_lunch_combo aicp_w7-userdebug