aml-s9xx-box: Move board specific bsp file handling to the board (#4971)

config file from from the family config file

 Changes to be committed:
	modified:   config/boards/aml-s9xx-box.tvb
	modified:   config/sources/families/meson-gxl.conf
This commit is contained in:
SteeManMI
2023-03-19 19:13:05 -04:00
committed by GitHub
parent d4a5b9c799
commit 010077305c
2 changed files with 12 additions and 5 deletions

View File

@@ -10,3 +10,13 @@ FULL_DESKTOP="yes"
ASOUND_STATE="asound.state.mesongx"
BOOT_LOGO="desktop"
SRC_CMDLINE='rootflags=data=writeback console=ttyAML0,115200n8 console=tty0'
function post_family_tweaks__config_aml-s9xx-box_bsp() {
display_alert "$BOARD" "Installing bsp files" "info"
cp -r $SRC/packages/bsp/aml-s9xx-box/boot $SDCARD
install -m 755 $SRC/packages/bsp/aml-s9xx-box/root/install-aml.sh $SDCARD/root
install -m 644 $SRC/packages/bsp/aml-s9xx-box/root/fstab.template $SDCARD/root
}

View File

@@ -23,13 +23,10 @@ if [[ $BOARD = khadas-vim2 ]]; then
fi
family_tweaks() {
if [[ $BOARD = aml-s9xx-box ]]; then
cp -r $SRC/packages/bsp/aml-s9xx-box/boot $SDCARD
install -m 755 $SRC/packages/bsp/aml-s9xx-box/root/install-aml.sh $SDCARD/root
install -m 644 $SRC/packages/bsp/aml-s9xx-box/root/fstab.template $SDCARD/root
fi
:
}
uboot_custom_postprocess() {
if [[ $BOARD == lepotato ]]; then
uboot_gxl_postprocess $SRC/cache/sources/odroidc2-blobs/ gxl