> From: Peng Fan <[email protected]> > 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 <[email protected]> > Signed-off-by: Peng Fan <[email protected]> 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: [email protected] =====================================================================

