Skip to content

Commit

Permalink
merlin: Switch to standalone extract utils
Browse files Browse the repository at this point in the history
Align with templates while we are at it

Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4
  • Loading branch information
mikeNG authored and althafvly committed Jan 2, 2021
1 parent ea71ff6 commit 669288f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
15 changes: 3 additions & 12 deletions extract-files.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -22,4 +13,4 @@ export DEVICE=merlin
export DEVICE_COMMON=msm8916-common
export VENDOR=motorola

./../../$VENDOR/$DEVICE_COMMON/extract-files.sh $@
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
18 changes: 3 additions & 15 deletions setup-makefiles.sh
Original file line number Diff line number Diff line change
@@ -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=2016

# Required!
export DEVICE=merlin
export DEVICE_COMMON=msm8916-common
export VENDOR=motorola

./../../$VENDOR/$DEVICE_COMMON/setup-makefiles.sh $@
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"

0 comments on commit 669288f

Please sign in to comment.