redpitaya-puzzlefw/os/12_build_uboot.sh

16 lines
409 B
Bash
Executable File

#!/bin/bash
set -e
. script_env
setup_toolchain
make -C "$UBOOT_DIR" CROSS_COMPILE=arm-linux- distclean
cp -a devicetree/redpitaya_puzzlefw.dts "$UBOOT_DIR/arch/arm/dts/redpitaya.dts"
cp -a config/uboot_redpitaya_puzzlefw_defconfig "$UBOOT_DIR/configs/redpitaya_puzzlefw_defconfig"
make -C "$UBOOT_DIR" CROSS_COMPILE=arm-linux- redpitaya_puzzlefw_defconfig
make -C "$UBOOT_DIR" CROSS_COMPILE=arm-linux-