redpitaya-puzzlefw/os/15_build_driver.sh

14 lines
226 B
Bash
Executable File

#!/bin/bash
set -e
. script_env
setup_toolchain
KDIR="$(realpath -m "$LINUX_DIR")"
cd src/linux_driver
make KDIR="$KDIR" ARCH=arm CROSS_COMPILE=arm-linux- clean
make KDIR="$KDIR" ARCH=arm CROSS_COMPILE=arm-linux- modules