build-u_boot: Add U_BOOT_PATCHES_DIR option

This commit is contained in:
Johan Gunnarsson 2021-08-01 22:51:00 +02:00
parent a82903ec52
commit 908dc3130c
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ fi
# Step into U-Boot directory # Step into U-Boot directory
cd u-boot cd u-boot
# Apply patches
if [ -d "${U_BOOT_PATCHES_DIR}" ]; then
git apply "${U_BOOT_PATCHES_DIR}"/*.patch || :
fi
# Setup ARCH # Setup ARCH
case "${TUPLE}" in case "${TUPLE}" in
arm-*) arm-*)