aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2020-12-19 02:53:35 +0200
committerjro1979oliver <jroliveira.oliveira301@gmail.com>2021-01-20 16:44:40 -0300
commit5b55853f36d8c26b068118e0e03e045544c18055 (patch)
treee5f1c00a2c0e64cb1f0ef056d368caff33e7ea7b
parentafaf0a1619bae42a5496ea1e53820e1a20d887c0 (diff)
harpia: Switch to standalone extract utils
Align with templates while we are at it Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
-rwxr-xr-xextract-files.sh15
-rwxr-xr-xsetup-makefiles.sh16
2 files changed, 6 insertions, 25 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 49298b9..e54f264 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -1,18 +1,9 @@
#!/bin/bash
#
# 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
@@ -22,4 +13,4 @@ export DEVICE=harpia
export DEVICE_COMMON=msm8916-common
export VENDOR=motorola
-./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@
+"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index 0673cc6..abc3e23 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -1,18 +1,9 @@
#!/bin/bash
#
# 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
@@ -21,6 +12,5 @@ set -e
export DEVICE=harpia
export DEVICE_COMMON=msm8916-common
export VENDOR=motorola
-export DEVICE_BRINGUP_YEAR=2016
-./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@
+"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"