Fixing syntax at Recore and add missing board level variables

There was a syntax error when making build targets.
This commit is contained in:
Igor Pecovnik 2024-07-02 11:44:19 +02:00 committed by Igor
parent 4b9d96c11b
commit 44bfe5cc2f
2 changed files with 11 additions and 11 deletions

View File

@ -3,6 +3,7 @@ BOARD_NAME="T95Z Plus" # (a q201 Chinese clone with in
BOOT_FDT_FILE="amlogic/meson-gxm-t95z-plus.dtb" # From chewitt's patches
BOARDFAMILY="meson-gxl" # s912's are actually meson-gxm, no harm done.
BOOTCONFIG="meson-gxm-t95z-plus_defconfig" # patched-in
BOARD_MAINTAINER=""
KERNEL_TARGET="edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"

View File

@ -5,24 +5,23 @@ BOOTCONFIG="recore_defconfig"
KERNEL_TARGET="legacy,current,edge"
MODULES="g_serial"
BOOT_LOGO="yes"
BOARD_MAINTAINER=""
function post_family_config__shrink_atf() {
echo "🍰Choose ATF branch"
declare -g ATFBRANCH="tag:v2.8.0"
display_alert "Choose ATF branch 🍰" "recore"
declare -g ATFBRANCH="tag:v2.8.0"
echo "🍰Shrink ATF"
declare -g ATF_TARGET_MAP="PLAT=$ATF_PLAT DEBUG=0 SUNXI_PSCI_USE_SCPI=0 bl31;;build/$ATF_PLAT/release/bl31.bin"
echo "🍰Compile without SCP binary"
UBOOT_TARGET_MAP="SCP=/dev/null;;u-boot-sunxi-with-spl.bin"
declare -g ATF_TARGET_MAP="PLAT=$ATF_PLAT DEBUG=0 SUNXI_PSCI_USE_SCPI=0 bl31;;build/$ATF_PLAT/release/bl31.bin"
display_alert "Compile without SCP binary 🍰" "recore"
UBOOT_TARGET_MAP="SCP=/dev/null;;u-boot-sunxi-with-spl.bin"
}
function format_partitions__make_boot_ro() {
echo "🍰Making boot partition ro"
sed -i 's:/boot ext4 defaults,commit=600,errors=remount-ro:/boot ext4 ro,defaults:' $SDCARD/etc/fstab
display_alert "Making boot partition ro 🍰" "recore"
sed -i 's:/boot ext4 defaults,commit=600,errors=remount-ro:/boot ext4 ro,defaults:' $SDCARD/etc/fstab
}
function extension_finish_config__enable_plymouth() {
echo "🍰Enable Plymouth on minimal build"
PLYMOUTH=yes
display_alert "Enable Plymouth on minimal build 🍰" "recore"
PLYMOUTH=yes
}