14 lines
250 B
Bash
Executable File
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
|