diff --git a/config/sources/families/imx8m.conf b/config/sources/families/imx8m.conf index 8e615f51f640..e0455de18c83 100644 --- a/config/sources/families/imx8m.conf +++ b/config/sources/families/imx8m.conf @@ -28,8 +28,11 @@ case $BOARD in ;; esac -# bootloader releated -pre_config_uboot_target() { +# bootloader related. +# Use `__` so the framework registers this alongside +# other extensions' hooks at the same stage; a bare +# `pre_config_uboot_target()` would suppress every other registration. +pre_config_uboot_target__imx8m_firmware() { # get the firmware rm -rf ${IMX_FIRMWARE}* curl -fL "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/${IMX_FIRMWARE}.bin" -o "${IMX_FIRMWARE}.bin" || {