redpitaya-puzzlefw/os/11_build_buildroot.sh

14 lines
259 B
Bash
Executable File

#!/bin/bash
set -e
BUILDROOT_DIR="buildroot-2023.02.8"
make -C "$BUILDROOT_DIR" distclean
cp -a config/buildroot_puzzlefw_defconfig "$BUILDROOT_DIR/.config"
make -C "$BUILDROOT_DIR" olddefconfig
make -C "$BUILDROOT_DIR"
ln -sf "$BUILDROOT_DIR" buildroot