Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit de1bae22 authored by Andreas Schneider's avatar Andreas Schneider Committed by derfelot
Browse files

makefiles: Remove WITH_TWRP protection

parent 862762f8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -61,7 +61,6 @@ setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"
#extract "${MY_DIR}/proprietary-files-vendor.txt" "${SRC}" "${KANG}" --section "${SECTION}"

# TWRP blobs
if [ "${WITH_TWRP}" = "true" ]; then
extract "${MY_DIR}/proprietary-files-twrp.txt" "${SRC}" "${KANG}" --section "${SECTION}"

TWRP_QSEECOMD="${ANDROID_ROOT}"/vendor/"${VENDOR}"/"${DEVICE}"/proprietary/recovery/root/sbin/qseecomd
@@ -71,7 +70,6 @@ TWRP_KEYMASTER_SERVICE="${ANDROID_ROOT}"/vendor/"${VENDOR}"/"${DEVICE}"/propriet
sed -i "s|/system/bin/linker64|/sbin/linker64\x0\x0\x0\x0\x0\x0|g" "${TWRP_QSEECOMD}"
sed -i "s|/system/bin/linker64|/sbin/linker64\x0\x0\x0\x0\x0\x0|g" "${TWRP_GATEKEEPER_SERVICE}"
sed -i "s|/system/bin/linker64|/sbin/linker64\x0\x0\x0\x0\x0\x0|g" "${TWRP_KEYMASTER_SERVICE}"
fi

#
# Fix product path
+0 −2
Original line number Diff line number Diff line
@@ -35,11 +35,9 @@ write_makefiles "${MY_DIR}"/proprietary-files.txt true
write_makefiles "${MY_DIR}"/proprietary-files-vendor.txt true

# Blobs for TWRP data decryption
if [ "${WITH_TWRP}" = "true" ]; then
cat << EOF >> "${BOARDMK}"
TARGET_RECOVERY_DEVICE_DIRS += vendor/$VENDOR/$DEVICE/proprietary
EOF
fi

# Finish
write_footers