[PATCH V2 10/12] configs: drop CONFIG_MMCROOT

sbabic at denx.de sbabic at denx.de
Fri Apr 22 10:47:35 CEST 2022


> From: Peng Fan <peng.fan at nxp.com>
> CONFIG_MMCROOT is only used to set mmcroot, no need a dedicated macro.
> Script as below
> "
>  for i in `ls include/configs/*.h`
>  do
>  mmcroot=`sed -n '/define.*MMCROOT/ p' $i  | awk -F\" '{ print $2;}'`
>  if [ ! -n "$mmcroot" ]; then
>  	continue
>  fi
>  sed -i '/define.*MMCROOT/ d' $i
>  sed -i 's,\" CONFIG_MMCROOT \",'$mmcroot',g' $i
>  done
> "
> Reviewed-by: Fabio Estevam <festevam at denx.de>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list