Files
ambz-sdk/scripts/patch_freertos.sh
2024-12-15 00:34:01 +06:00

14 lines
250 B
Bash
Executable File

#!/bin/sh
git submodule update --init
cd lib/freertos || exit 1
for patch in ../../patches/freertos/*.patch; do
if git apply "$patch"; then
echo "Applied patch: $patch"
else
echo "Failed to apply patch: $patch" >&2
exit 1
fi
done