initial agnos-builder release

This commit is contained in:
Adeeb Shihadeh
2021-09-20 14:04:35 -07:00
commit 4e38c8f181
189 changed files with 23317 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash -e
# Config
OUTPUT_DIR="output"
KERNEL_IMAGE="boot.img"
# Log colors
GREEN="\033[0;32m"
NO_COLOR='\033[0m'
# Make sure we're in the correct spot
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
# Flash bootloader
fastboot --set-active=a
fastboot flash boot_a $OUTPUT_DIR/$KERNEL_IMAGE
echo -e "${GREEN}Done!"