aboutsummaryrefslogtreecommitdiff
path: root/do_buildroot.sh
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-20 20:41:05 -0500
committertslil <tslil@posteo.de>2021-01-20 20:46:30 -0500
commitfe19bdb6008358ff4b04054c5cb44a4e4d0cc5ab (patch)
tree5f866ba627a22b9342e8ea56639c0e5cc020b445 /do_buildroot.sh
parentfc1193dee5bcc2bf8469148bb122cc0b714cb952 (diff)
Auto-start the game
Diffstat (limited to 'do_buildroot.sh')
-rwxr-xr-xdo_buildroot.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/do_buildroot.sh b/do_buildroot.sh
index 1e50bda..cdcbbe6 100755
--- a/do_buildroot.sh
+++ b/do_buildroot.sh
@@ -4,17 +4,21 @@ BR="$1"
board="$BR/board/raspberrypi0/"
overlay="$board/rootfs_overlay/"
-dirs="/usr/bin"
+# 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 resources/config-buildroot "$BR/.config"
-cp resources/{post-build,ct1986}.sh resources/genimage-raspberrypi0.cfg resources/linux.config "$board"
-
cp ctaklm ct1986 "$overlay/usr/bin"
+cp resources/ash-profile "$overlay/.profile"
cd "$BR" && make