This repository has been archived on 2025-06-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Os/scripts/linux-dtbs.sh
2018-04-07 23:26:16 +02:00

19 lines
380 B
Bash
Executable file

#!/bin/bash
set -e
mkdir -p ../build
cd ../build
[[ -d wallaby-linux ]] || git clone https://github.com/F-WuTS/wallaby-linux.git --depth=1
mkdir -p linux/boot
cd wallaby-linux
# Remove .git folder to prevent dirty kernel names
[[ -d build ]] || rm -rf .git
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- dtbs -j8
cp -r arch/arm/boot/dts/am335x-pepper*.dt* ../linux/boot