Permalink
Browse files

msm8998-common: Bringup LineageOS 14.1

 * Correct EOF shit
  • Loading branch information...
CenkayKESER authored and regalstreak committed Oct 11, 2017
1 parent b7e534b commit 2f5e3f260f471a6a3accc7e401d8fa7f58fc59b8
View
@@ -136,11 +136,11 @@ USE_DEVICE_SPECIFIC_CAMERA := true
# Charger
BOARD_CHARGER_ENABLE_SUSPEND := true
# MK Hardware
# CM Hardware
BOARD_HARDWARE_CLASS += \
hardware/mokee/mkhw \
$(VENDOR_PATH)/mkhw
BOARD_USES_MOKEE_HARDWARE := true
hardware/cyanogen/cmhw \
$(VENDOR_PATH)/cmhw
BOARD_USES_CYANOGEN_HARDWARE := true
TARGET_TAP_TO_WAKE_NODE := "/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input1/wake_gesture"
# CNE and DPM
View
@@ -15,7 +15,7 @@ LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v7-preference \
android-support-v7-appcompat \
android-support-v14-preference \
org.mokee.platform.internal
org.cyanogenmod.platform.internal
LOCAL_RESOURCE_DIR := \
$(LOCAL_PATH)/res \
View
@@ -22,9 +22,9 @@ set -e
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
MK_ROOT="$MY_DIR"/../../..
CM_ROOT="$MY_DIR"/../../..
HELPER="$MK_ROOT"/vendor/mk/build/tools/extract_utils.sh
HELPER="$CM_ROOT"/vendor/cm/build/tools/extract_utils.sh
if [ ! -f "$HELPER" ]; then
echo "Unable to find helper script at $HELPER"
exit 1
@@ -54,13 +54,13 @@ if [ -z "$SRC" ]; then
fi
# Initialize the helper for common device
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$MK_ROOT" true "$CLEAN_VENDOR"
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$CM_ROOT" true "$CLEAN_VENDOR"
extract "$MY_DIR"/proprietary-files.txt "$SRC" "$SECTION"
if [ -s "$MY_DIR"/../$DEVICE/proprietary-files.txt ]; then
# Reinitialize the helper for device
setup_vendor "$DEVICE" "$VENDOR" "$MK_ROOT" false "$CLEAN_VENDOR"
setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT" false "$CLEAN_VENDOR"
extract "$MY_DIR"/../$DEVICE/proprietary-files.txt "$SRC" "$SECTION"
fi
View

This file was deleted.

Oops, something went wrong.
View
@@ -24,17 +24,17 @@ INITIAL_COPYRIGHT_YEAR=2017
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
MK_ROOT="$MY_DIR"/../../..
CM_ROOT="$MY_DIR"/../../..
HELPER="$MK_ROOT"/vendor/mk/build/tools/extract_utils.sh
HELPER="$CM_ROOT"/vendor/cm/build/tools/extract_utils.sh
if [ ! -f "$HELPER" ]; then
echo "Unable to find helper script at $HELPER"
exit 1
fi
. "$HELPER"
# Initialize the helper for common
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$MK_ROOT" true
setup_vendor "$DEVICE_COMMON" "$VENDOR" "$CM_ROOT" true
# Copyright headers and guards
write_headers "chiron sagit"
@@ -48,7 +48,7 @@ write_footers
if [ -s "$MY_DIR"/../$DEVICE/proprietary-files.txt ]; then
# Reinitialize the helper for device
INITIAL_COPYRIGHT_YEAR="$DEVICE_BRINGUP_YEAR"
setup_vendor "$DEVICE" "$VENDOR" "$MK_ROOT" false
setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT" false
# Copyright headers and guards
write_headers
View
@@ -272,5 +272,3 @@ persist.audio.dirac.speaker=true
persist.audio.speaker.dualmode=true
ro.wlan.mimo=1
ro.mk.maintainer=wood

0 comments on commit 2f5e3f2

Please sign in to comment.