diff options
| author | experience7 <alexander.zandt@googlemail.com> | 2016-12-31 17:03:47 +0100 |
|---|---|---|
| committer | 5x <droidfivex@gmail.com> | 2017-02-07 09:48:34 +0900 |
| commit | 28b3d1b00cc98a8f4a4d41ecbdeebe7964e01efb (patch) | |
| tree | b7581a0f3c86daa076290b577d10a57da66b8378 | |
| parent | fcac3fc3f34ff6c388257ed140d41796c195fb10 (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.mk | 1 | ||||
| -rw-r--r-- | BoardConfig.mk | 5 | ||||
| -rw-r--r-- | device.mk | 1 | ||||
| -rwxr-xr-x | extract-files.sh | 7 | ||||
| -rw-r--r-- | proprietary-files.txt | 1 | ||||
| -rwxr-xr-x | setup-makefiles.sh | 7 |
6 files changed, 14 insertions, 8 deletions
@@ -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 @@ -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 |
