Skip to content

Commit

Permalink
X00TD: 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: I3cd279191c7bd3582f1c1f80c588eb26cf9da933
  • Loading branch information
mikeNG authored and rk779 committed Jan 24, 2021
1 parent 3364a30 commit c345b63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 3 additions & 5 deletions extract-files.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2020 The LineageOS Project
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017-2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -23,7 +24,7 @@ function blob_fixup() {

# remove android.hidl.base dependency
vendor/lib/hw/camera.sdm660.so)
patchelf --remove-needed "[email protected]" "${2}"
"${PATCHELF}" --remove-needed "[email protected]" "${2}"
;;

esac
Expand All @@ -35,11 +36,8 @@ fi

set -e

# Required
export DEVICE=X00TD
export DEVICE_COMMON=sdm660-common
export VENDOR=asus

export DEVICE_BRINGUP_YEAR=2020

"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
5 changes: 2 additions & 3 deletions setup-makefiles.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2020 The LineageOS Project
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017-2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
Expand All @@ -11,6 +12,4 @@ export DEVICE=X00TD
export DEVICE_COMMON=sdm660-common
export VENDOR=asus

export DEVICE_BRINGUP_YEAR=2020

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

0 comments on commit c345b63

Please sign in to comment.