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 17:02:47 -0300
commit53c3d82c170ed45a2936565eb7fe2ebccac99b43 (patch)
tree9da20b440eddb76d9bbbcfde9e8f923042aaa66c
parent5d92030d1bb98327fc47996ced0032b345d61e4f (diff)
osprey: 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.sh18
2 files changed, 6 insertions, 27 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 61b6862..5be4ae3 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=osprey
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 61958e3..edec188 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -1,28 +1,16 @@
#!/bin/bash
#
# Copyright (C) 2016 The CyanogenMod Project
-# Copyright (C) 2017 The LineageOS 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
-export DEVICE_BRINGUP_YEAR=2015
-
# Required!
export DEVICE=osprey
export DEVICE_COMMON=msm8916-common
export VENDOR=motorola
-./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@
+"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"