kebab: Align with extraction-utils templates

Change-Id: Ifbf18f79a1d0f173cb5b83bdf0178db2a5f1373e
This commit is contained in:
Bruno Martins
2020-12-28 10:34:04 +00:00
committed by LuK1337
parent f99fb920bc
commit 3c4653a79e
2 changed files with 6 additions and 30 deletions

View File

@@ -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=kebab
export DEVICE_COMMON=sm8250-common
export VENDOR=oneplus
export DEVICE_BRINGUP_YEAR=2020
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"

View File

@@ -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=kebab
export DEVICE_COMMON=sm8250-common
export VENDOR=oneplus
export DEVICE_BRINGUP_YEAR=2020
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"