2024-01-05 12:44:53 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-01-07 01:06:45 +01:00
|
|
|
. script_env
|
|
|
|
setup_toolchain
|
2024-01-05 12:44:53 +01:00
|
|
|
|
2024-01-07 01:06:45 +01:00
|
|
|
make -C "$UBOOT_DIR" CROSS_COMPILE=arm-linux- distclean
|
2024-01-05 12:44:53 +01:00
|
|
|
|
2024-01-07 01:06:45 +01:00
|
|
|
cp -a devicetree/redpitaya_puzzlefw_uboot.dts "$UBOOT_DIR/arch/arm/dts/redpitaya.dts"
|
|
|
|
cp -a config/uboot_redpitaya_puzzlefw_defconfig "$UBOOT_DIR/.config"
|
|
|
|
|
|
|
|
make -C "$UBOOT_DIR" CROSS_COMPILE=arm-linux- olddefconfig
|
|
|
|
make -C "$UBOOT_DIR" CROSS_COMPILE=arm-linux-
|
2024-01-05 12:44:53 +01:00
|
|
|
|