diff --git a/BoardConfig.mk b/BoardConfig.mk index e76483e..f606b58 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -136,9 +136,6 @@ BOARD_USERDATAIMAGE_PARTITION_SIZE := 26401026048 # 25782252 * 1024 mmcblk0p54 # Peripheral manager TARGET_PER_MGR_ENABLED := true -# Power -TARGET_POWERHAL_VARIANT := qcom - BOARD_USES_QCOM_HARDWARE := true BOARD_USES_QC_TIME_SERVICES := true @@ -171,3 +168,7 @@ WIFI_DRIVER_FW_PATH_STA := "sta" WIFI_DRIVER_FW_PATH_P2P := "p2p" WPA_SUPPLICANT_VERSION := VER_0_8_X +# Toolchain +KERNEL_TOOLCHAIN := $(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.9/bin +TARGET_KERNEL_CROSS_COMPILE_PREFIX := arm-eabi- + diff --git a/lineage.mk b/aosp_sanders.mk similarity index 93% rename from lineage.mk rename to aosp_sanders.mk index 312e120..ac7d87f 100644 --- a/lineage.mk +++ b/aosp_sanders.mk @@ -23,7 +23,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) $(call inherit-product, vendor/motorola/sanders/sanders-vendor.mk) # Inherit some common CM stuff. -$(call inherit-product, vendor/lineage/config/common_full_phone.mk) +$(call inherit-product, vendor/aosp/common.mk) # Boot animation TARGET_SCREEN_WIDTH := 1080 @@ -31,7 +31,7 @@ TARGET_SCREEN_HEIGHT := 1920 ## Device identifier. This must come after all inclusions PRODUCT_DEVICE := sanders -PRODUCT_NAME := lineage_sanders +PRODUCT_NAME := aosp_sanders PRODUCT_BRAND := motorola PRODUCT_MANUFACTURER := motorola diff --git a/power/Android.mk b/power/Android.mk index f722d4b..bd881bb 100644 --- a/power/Android.mk +++ b/power/Android.mk @@ -1,8 +1,8 @@ LOCAL_PATH := $(call my-dir) -USE_ME := true +SANDERS_USE_ME := true -ifneq (,$(filter true,$(USE_ME) $(WITH_QC_PERF))) +ifneq (,$(filter true,$(SANDERS_USE_ME) $(WITH_QC_PERF))) # HAL module implemenation stored in # hw/..so diff --git a/system.prop b/system.prop index 1721351..428c944 100644 --- a/system.prop +++ b/system.prop @@ -220,8 +220,6 @@ persist.data.netmgrd.qos.enable=true persist.data.mode=concurrent persist.data.iwlan.enable=true -ro.sys.sdcardfs=false - # Sensors ro.hardware.sensors=sanders diff --git a/vendorsetup.sh b/vendorsetup.sh new file mode 100644 index 0000000..9797de1 --- /dev/null +++ b/vendorsetup.sh @@ -0,0 +1,17 @@ +# +# Copyright 2015 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. +# + +add_lunch_combo aosp_sanders-userdebug