universal7885: Check if BT call fix is merged, if not, patch it

Change-Id: I257272ca2203977b0f4d8364edbddeda10e9ed3f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2022-02-19 03:18:18 +09:00
commit 5b74e97a5c
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
2 changed files with 113 additions and 0 deletions

View file

@ -28,3 +28,11 @@ echo "Generating A30 Makefiles"
echo "Generating A40 Makefiles"
./device/samsung/a40/setup.sh
ln -sf device/samsung/build.sh
# BT Call patch
if ! grep -q ESCO_TRANSPORT_UNIT_SIZE system/bt/device/src/esco_parameters.cc; then
echo "Applying BT call patch";
cd system/bt;
git apply ../../device/samsung/universal7885-common/.patch/BTCalls-On-Samsung.patch;
cd -
fi