summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorexperience7 <alexander.zandt@googlemail.com>2016-12-31 17:03:47 +0100
committer5x <droidfivex@gmail.com>2017-02-07 09:48:34 +0900
commit28b3d1b00cc98a8f4a4d41ecbdeebe7964e01efb (patch)
treeb7581a0f3c86daa076290b577d10a57da66b8378
parentfcac3fc3f34ff6c388257ed140d41796c195fb10 (diff)
hammerheadcaf: Move to LineageOS [1/2]
On occasion of the current rebranding: * Added copyright notes * Generalized extract-files.sh and setup-makefiles.sh ("CM" -> "ROM"). * Renamed and modified files according to rebranding policy. Conflicts: BoardConfig.mk lineage.dependencies lineage.mk Change-Id: Ic6d706ee1a4a1fc1bb8a8fab6396b160b10c74eb
-rw-r--r--Android.mk1
-rw-r--r--BoardConfig.mk5
-rw-r--r--device.mk1
-rwxr-xr-xextract-files.sh7
-rw-r--r--proprietary-files.txt1
-rwxr-xr-xsetup-makefiles.sh7
6 files changed, 14 insertions, 8 deletions
diff --git a/Android.mk b/Android.mk
index da6d7be..534268f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,5 +1,6 @@
#
# Copyright (C) 2016 The CyanogenMod Project
+# (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/BoardConfig.mk b/BoardConfig.mk
index fed02b9..ac221b9 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -1,5 +1,6 @@
#
# Copyright (C) 2016 The CyanogenMod Project
+# (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -44,7 +45,7 @@ BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=hammerhea
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02900000 --tags_offset 0x02700000
BOARD_KERNEL_IMAGE_NAME := zImage-dtb
TARGET_KERNEL_SOURCE := kernel/lge/hammerheadcaf
-TARGET_KERNEL_CONFIG := cyanogenmod_hammerhead_defconfig
+TARGET_KERNEL_CONFIG := lineageos_hammerhead_defconfig
# QCOM Hardware
BOARD_USES_QCOM_HARDWARE := true
@@ -68,7 +69,7 @@ USE_DEVICE_SPECIFIC_CAMERA:= true
# Charger
BOARD_CHARGER_ENABLE_SUSPEND := true
-# CM Hardware
+# LineageOS Hardware
BOARD_USES_CYANOGEN_HARDWARE := true
BOARD_HARDWARE_CLASS := hardware/cyanogen/cmhw
diff --git a/device.mk b/device.mk
index 9a0e633..edfc0d6 100644
--- a/device.mk
+++ b/device.mk
@@ -1,5 +1,6 @@
#
# Copyright (C) 2016 The CyanogenMod Project
+# (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/extract-files.sh b/extract-files.sh
index 5953c25..9356fbf 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright (C) 2016 The CyanogenMod Project
+# (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -23,9 +24,9 @@ DEVICE=hammerheadcaf
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
-CM_ROOT="${MY_DIR}/../../.."
+ROM_ROOT="${MY_DIR}/../../.."
-HELPER="${CM_ROOT}/vendor/cm/build/tools/extract_utils.sh"
+HELPER="${ROM_ROOT}/vendor/cm/build/tools/extract_utils.sh"
if [ ! -f "$HELPER" ]; then
echo "Unable to find helper script at $HELPER"
exit 1
@@ -50,7 +51,7 @@ else
fi
# Initialize the helper
-setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT"
+setup_vendor "$DEVICE" "$VENDOR" "$ROM_ROOT"
extract "${MY_DIR}/proprietary-files.txt" "$SRC"
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 6345b98..5d6a455 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -1,5 +1,6 @@
#
# Copyright (C) 2016 The CyanogenMod Project
+# (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index e7f41b1..aba7a93 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -1,6 +1,7 @@
#!/bin/bash
# Copyright (C) 2016 The CyanogenMod Project
+# (C) 2017 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -21,9 +22,9 @@ DEVICE=hammerheadcaf
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
-CM_ROOT="${MY_DIR}/../../.."
+ROM_ROOT="${MY_DIR}/../../.."
-HELPER="${CM_ROOT}/vendor/cm/build/tools/extract_utils.sh"
+HELPER="${ROM_ROOT}/vendor/cm/build/tools/extract_utils.sh"
if [ ! -f "$HELPER" ]; then
echo "Unable to find helper script at $HELPER"
exit 1
@@ -31,7 +32,7 @@ fi
. "$HELPER"
# Initialize the helper
-setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT"
+setup_vendor "$DEVICE" "$VENDOR" "$ROM_ROOT"
# Copyright headers and guards
write_headers