mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
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:
@@ -10,3 +10,13 @@ FULL_DESKTOP="yes"
|
|||||||
ASOUND_STATE="asound.state.mesongx"
|
ASOUND_STATE="asound.state.mesongx"
|
||||||
BOOT_LOGO="desktop"
|
BOOT_LOGO="desktop"
|
||||||
SRC_CMDLINE='rootflags=data=writeback console=ttyAML0,115200n8 console=tty0'
|
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
|
||||||
|
}
|
||||||
|
|||||||
@@ -23,13 +23,10 @@ if [[ $BOARD = khadas-vim2 ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
family_tweaks() {
|
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() {
|
uboot_custom_postprocess() {
|
||||||
if [[ $BOARD == lepotato ]]; then
|
if [[ $BOARD == lepotato ]]; then
|
||||||
uboot_gxl_postprocess $SRC/cache/sources/odroidc2-blobs/ gxl
|
uboot_gxl_postprocess $SRC/cache/sources/odroidc2-blobs/ gxl
|
||||||
|
|||||||
Reference in New Issue
Block a user