redpitaya-puzzlefw/sw/15_build_driver.sh

14 lines
226 B
Bash
Raw Normal View History

2024-08-02 21:02:17 +02:00
#!/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