imx-setup-release.sh: Add Supported Machine and Distro list in helper

[LF-15659] Show all of support Machine and Distro options by command
  "source ./imx-setup-release.sh -h".

Signed-off-by: Jun Zhu <junzhu@nxp.com>
This commit is contained in:
Jun Zhu 2025-06-23 14:42:43 +08:00
parent c1be19a1a3
commit abbdff7697

View File

@ -38,6 +38,16 @@ echo "
* [-b build-dir]: Build directory, if unspecified script uses 'build' as output directory
* [-h]: help
"
echo -e "\n
Supported machines: `echo; ls sources/meta-freescale/conf/machine/*.conf \
sources/meta-imx/meta-imx-bsp/conf/machine/*.conf \
|egrep "/(imx6|imx7|imx8|imx9).*conf$" | sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
Supported NXP's i.MX distros: `echo; ls sources/meta-imx/meta-imx-sdk/conf/distro/fsl-*.conf \
| sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
"
}