diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-20 22:49:49 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 2ac4a6e1d3b6440de22d95f48454d6282c78726d (patch) | |
| tree | 2496adbdf994c0bf574fbcc62486d244d9673d8b /do_buildroot.sh | |
| parent | 1b0338a0546b760e8a7ffa61b38c410a166aae7c (diff) | |
| parent | 36cecb722fb66d35cdbf69ebcf2aa6f49bfc082b (diff) | |
Merge branch 'pi'
Diffstat (limited to 'do_buildroot.sh')
| -rwxr-xr-x | do_buildroot.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/do_buildroot.sh b/do_buildroot.sh new file mode 100755 index 0000000..cdcbbe6 --- /dev/null +++ b/do_buildroot.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +BR="$1" + +board="$BR/board/raspberrypi0/" +overlay="$board/rootfs_overlay/" + +# Build configuration +cp resources/config-buildroot "$BR/.config" +# resources/linux.config +cp resources/{post-build,ct1986}.sh resources/genimage-raspberrypi0.cfg "$board" + +# Overlay filesystem +dirs="/usr/bin" +for dir in $dirs; do + if [ ! -d "$overlay/$dir" ]; then + mkdir -p "$overlay/$dir" + fi +done + +cp ctaklm ct1986 "$overlay/usr/bin" +cp resources/ash-profile "$overlay/.profile" + +cd "$BR" && make |
