redpitaya-puzzlefw/sw/13_build_kernel.sh

16 lines
355 B
Bash
Executable File

#!/bin/bash
set -e
. script_env
setup_toolchain
make -C "$LINUX_DIR" ARCH=arm mrproper
cp -a config/linux_redpitaya_puzzlefw_defconfig "$LINUX_DIR/.config"
make -C "$LINUX_DIR" ARCH=arm CROSS_COMPILE=arm-linux- olddefconfig
make -C "$LINUX_DIR" ARCH=arm CROSS_COMPILE=arm-linux- zImage
make -C "$LINUX_DIR" ARCH=arm CROSS_COMPILE=arm-linux- modules