-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathrebuild_all_quick.sh
More file actions
executable file
·44 lines (35 loc) · 1.15 KB
/
rebuild_all_quick.sh
File metadata and controls
executable file
·44 lines (35 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
CPU_COUNT=$(grep processor /proc/cpuinfo | wc -l)
THREADS=${CPU_COUNT}
export DISTRONAME="$(cat distname)"
export DISTROVERSION="$(cat version)"
export DISTRODATE="$(date +%Y-%m-%d)"
export AMIGADATE="$(date +"%-d.%-m.%Y")"
args=("$@")
if [ "${args[ 0 ]}" == "-h" ]
then
echo "Options are:"
echo "-h prints this help text"
echo "--with-nonvampire-support building for non-vampire platforms"
exit
fi
echo "##############################################"
echo "# Rebuilding all"
echo "# CPU Count: ${CPU_COUNT}"
echo "# Rebuilding with ${THREADS} parallel tasks"
if [ $# -gt 0 ]; then echo "# Building with $@"; fi
echo "##############################################"
sleep 3
rm -rf config/features.status
make -j${THREADS} distfiles
echo ""
echo "### ApolloROM Info ###"
if [ "${args[ 0 ]}" == "--with-nonvampire-support" ]
then
cat bin/amiga-m68k/gen/boot/aros-amiga-m68k-ext.bin bin/amiga-m68k/gen/boot/aros-amiga-m68k-rom.bin > ApolloROM.UAE
ls -lah ApolloROM.UAE
else
cat bin/amiga-m68k/gen/boot/aros-amiga-m68k-ext.bin bin/amiga-m68k/gen/boot/aros-amiga-m68k-rom.bin > ApolloROM.V4
ls -lah ApolloROM.V4
fi
more arch/m68k-amiga/boot/romlog.txt