
In message 1238621652-2984-1-git-send-email-wd@denx.de I wrote:
According to the doc/feature-removal-schedule.txt, the "autoscr" command will be replaced by the "source" command in approximately 6 months from now.
This patch prepares this change and starts a 6 month transition period as follows:
- The new "source" command has been added, which implements exactly the same functionlaity as the old "autoscr" command before
- The old "autoscr" command name is kept as an alias for compatibility
- Command sequences, script files atc. have been adapted to use the new "source" command
- Related environment variables ("autoscript", "autoscript_uname") have *not* been adapted yet; these will be renamed resp. removed in a separate patch when the support for the "autoscr" command get's finally dropped.
Signed-off-by: Wolfgang Denk wd@denx.de
Changes since V1:
- add DEPRECATED warning message to "autoscr" help text.
- Print DEPRECATED warning message whenever "autoscr" command gets used.
README | 10 +- board/cray/L1/L1.c | 2 +- board/cray/L1/bootscript.hush | 2 +- board/esd/common/cmd_loadpci.c | 6 +- board/pn62/cmd_pn62.c | 7 +- common/Makefile | 4 +- common/cmd_autoscript.c | 241 ----------------------------------- common/cmd_load.c | 7 +- common/cmd_net.c | 7 +- common/cmd_source.c | 256 ++++++++++++++++++++++++++++++++++++++ doc/feature-removal-schedule.txt | 20 ++- include/common.h | 4 +- include/config_cmd_all.h | 2 +- include/config_cmd_default.h | 2 +- include/configs/APC405.h | 14 +- include/configs/CRAYL1.h | 26 ++-- include/configs/DU440.h | 12 +- include/configs/EP1C20.h | 2 +- include/configs/GEN860T.h | 2 +- include/configs/MVBC_P.h | 12 +- include/configs/MVBLM7.h | 12 +- include/configs/NETPHONE.h | 2 +- include/configs/NETTA2.h | 2 +- include/configs/NX823.h | 4 +- include/configs/PN62.h | 6 +- include/configs/TOP860.h | 8 +- include/configs/TQM5200.h | 2 +- include/configs/VoVPN-GW.h | 4 +- include/configs/afeb9260.h | 6 +- include/configs/apollon.h | 2 +- include/configs/at91cap9adk.h | 4 +- include/configs/at91sam9260ek.h | 6 +- include/configs/at91sam9261ek.h | 6 +- include/configs/at91sam9263ek.h | 6 +- include/configs/at91sam9rlek.h | 6 +- include/configs/atngw100.h | 2 +- include/configs/atstk1002.h | 2 +- include/configs/atstk1006.h | 2 +- include/configs/eNET.h | 6 +- include/configs/favr-32-ezkit.h | 2 +- include/configs/grsim.h | 26 ++-- include/configs/grsim_leon2.h | 22 ++-- include/configs/gth2.h | 14 +- include/configs/keymile-common.h | 2 +- include/configs/lwmon.h | 4 +- include/configs/lwmon5.h | 2 +- include/configs/mp2usb.h | 4 +- include/configs/mx1fs2.h | 6 +- include/configs/omap2420h4.h | 2 +- include/configs/omap3_beagle.h | 2 +- include/configs/omap3_evm.h | 2 +- include/configs/omap3_overo.h | 2 +- include/configs/omap3_pandora.h | 2 +- include/configs/omap3_zoom1.h | 2 +- include/configs/sc3.h | 24 ++-- include/configs/scb9328.h | 4 +- include/configs/stxxtc.h | 2 +- include/configs/vct.h | 38 +++--- include/configs/wepep250.h | 6 +- 59 files changed, 458 insertions(+), 436 deletions(-) delete mode 100644 common/cmd_autoscript.c create mode 100644 common/cmd_source.c
Applied.
Best regards,
Wolfgang Denk