diff --git a/extract-files.sh b/extract-files.sh index 95e31ef..b12a906 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -1,7 +1,7 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017-2020 The LineageOS Project +# Copyright (C) 2017-2023 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # @@ -111,4 +111,8 @@ setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}" extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}" +if [ -z "${SECTION}" ]; then + extract_firmware "${MY_DIR}/proprietary-firmware.txt" "${SRC}" +fi + "${MY_DIR}/setup-makefiles.sh" diff --git a/proprietary-firmware.txt b/proprietary-firmware.txt new file mode 100644 index 0000000..208fa03 --- /dev/null +++ b/proprietary-firmware.txt @@ -0,0 +1,14 @@ +# Firmware - from rosemary-user 12 SP1A.210812.016 V14.0.7.0.TKLMIXM release-keys + +audio_dsp.img;AB +cam_vpu1.img;AB +cam_vpu2.img;AB +cam_vpu3.img;AB +gz.img;AB +lk.img;AB +logo.bin:logo.img;AB +md1img.img;AB +scp.img;AB +spmfw.img;AB +sspm.img;AB +tee.img;AB diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 08d35b4..08dd65f 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -1,7 +1,7 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project -# Copyright (C) 2017-2020 The LineageOS Project +# Copyright (C) 2017-2023 The LineageOS Project # # SPDX-License-Identifier: Apache-2.0 # @@ -32,5 +32,7 @@ write_headers write_makefiles "${MY_DIR}/proprietary-files.txt" true +append_firmware_calls_to_makefiles "${MY_DIR}/proprietary-firmware.txt" + # Finish write_footers