build.sh: fix uboot-202307 fixed-mtdparts

This commit is contained in:
hanwckf
2023-09-02 10:54:01 +08:00
parent 7caf897895
commit c42687ef7a

View File

@@ -42,6 +42,7 @@ else
if [ "$fixedparts" = "1" ]; then
echo "Build u-boot with fixed-mtdparts!"
echo "CONFIG_MEDIATEK_UBI_FIXED_MTDPARTS=y" >> $UBOOT_DIR/.config
echo "CONFIG_MTK_FIXED_MTD_MTDPARTS=y" >> $UBOOT_DIR/.config
fi
make -C $UBOOT_DIR olddefconfig all
if [ -f "$UBOOT_DIR/u-boot.bin" ]; then