mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-03 06:57:46 -04:00
universal7570: Update blob scripts
Change-Id: Iea7c8bfb551c8b89d182413e17496c6a18c8b78c
This commit is contained in:
parent
3cfa260346
commit
91f8150ef2
2 changed files with 6 additions and 5 deletions
5
extract-files.sh
Normal file → Executable file
5
extract-files.sh
Normal file → Executable file
|
@ -26,7 +26,7 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
|
|||
|
||||
LINEAGE_ROOT="${MY_DIR}"/../../..
|
||||
|
||||
HELPER="${AOSP_ROOT}/vendor/lineage/build/tools/extract_utils.sh"
|
||||
HELPER="${LINEAGE_ROOT}/vendor/lineage/build/tools/extract_utils.sh"
|
||||
if [ ! -f "${HELPER}" ]; then
|
||||
echo "Unable to find helper script at ${HELPER}"
|
||||
exit 1
|
||||
|
@ -62,6 +62,7 @@ fi
|
|||
# Initialize the helper
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}"
|
||||
|
||||
extract "$MY_DIR"/proprietary-files.txt "$SRC"
|
||||
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \
|
||||
"${KANG}" --section "${SECTION}"
|
||||
|
||||
"${MY_DIR}/setup-makefiles.sh"
|
||||
|
|
6
setup-makefiles.sh
Normal file → Executable file
6
setup-makefiles.sh
Normal file → Executable file
|
@ -18,7 +18,7 @@
|
|||
set -e
|
||||
|
||||
VENDOR=samsung
|
||||
DEVICE=universal7570-common
|
||||
DEVICE_COMMON=universal7570-common
|
||||
|
||||
export INITIAL_COPYRIGHT_YEAR=2017
|
||||
|
||||
|
@ -36,10 +36,10 @@ fi
|
|||
source "${HELPER}"
|
||||
|
||||
# Initialize the helper
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${AOSP_ROOT}"
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true
|
||||
|
||||
# Copyright headers and guards
|
||||
write_headers "universal7570-common"
|
||||
write_headers "j4lte"
|
||||
|
||||
# The standard blobs
|
||||
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue