aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2020-12-19 02:53:35 +0200
committerNolen Johnson <johnsonnolen@gmail.com>2021-01-13 20:36:46 -0500
commit16b214260f2b1dde7f82b0b0135fa245bd3de8f5 (patch)
tree353d21489638c18495d45f2788ed756e7b645286
parentadd048e88c3db7d3435567b3f416c6a3c69bb29c (diff)
ocean: Switch to standalone extract utils
* Align with templates while we are at it Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
-rwxr-xr-xextract-files.sh18
-rwxr-xr-xsetup-makefiles.sh18
2 files changed, 6 insertions, 30 deletions
diff --git a/extract-files.sh b/extract-files.sh
index bf03b8f..003ac0c 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -1,18 +1,9 @@
#!/bin/bash
#
-# Copyright (C) 2018-2019 The LineageOS Project
+# Copyright (C) 2016 The CyanogenMod Project
+# Copyright (C) 2017-2020 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.
-# 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.
+# SPDX-License-Identifier: Apache-2.0
#
# If we're being sourced by the common script that we called,
@@ -23,11 +14,8 @@ fi
set -e
-# Required!
export DEVICE=ocean
export DEVICE_COMMON=sdm632-common
export VENDOR=motorola
-export DEVICE_BRINGUP_YEAR=2019
-
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index a71aef6..859583c 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -1,27 +1,15 @@
#!/bin/bash
#
-# Copyright (C) 2018-2019 The LineageOS Project
+# Copyright (C) 2016 The CyanogenMod Project
+# Copyright (C) 2017-2020 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.
-# 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.
+# SPDX-License-Identifier: Apache-2.0
#
set -e
-# Required!
export DEVICE=ocean
export DEVICE_COMMON=sdm632-common
export VENDOR=motorola
-export DEVICE_BRINGUP_YEAR=2019
-
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"