2020-12-23 17:14:13 +00:00
|
|
|
|
|
2024-07-05 18:43:18 +00:00
|
|
|
|
MB_AUTOEXEC_SHOW_VERSION ?= off
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SHOW_VERSION,Print OS version on boot.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_SHOW_PATH ?= on
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SHOW_PATH,Print search path on boot.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
2024-07-02 20:56:17 +00:00
|
|
|
|
MB_AUTOEXEC_SHOW_INIT ?= on
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SHOW_INIT,Print msxbuild init message on boot.)
|
2024-07-02 13:34:26 +00:00
|
|
|
|
|
2024-07-02 20:56:17 +00:00
|
|
|
|
MB_AUTOEXEC_SHOW_HOST ?= on
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SHOW_HOST,Print host machine on boot.)
|
2024-07-02 20:56:17 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_SHOW_USER ?= on
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SHOW_USER,Print host user on boot.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_SHOW_FOLDER ?= on
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SHOW_FOLDER,Print host folder on boot.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_SHOW_TARGET ?= on
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SHOW_TARGET,Print host target on boot.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_STARTUP_TIMEOUT ?= 60
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_STARTUP_TIMEOUT,Startup failure timeout of autoexec.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_STARTUP_EXITCODE ?= 124
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_STARTUP_EXITCODE,Startup failure exit code of autoexec.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
MB_AUTOEXEC_SAFE_ASSERT_TIMEOUT ?= 120
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SAFE_ASSERT_TIMEOUT,Safe assert execution failure timeout.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
MB_AUTOEXEC_SAFE_ASSERT_EXITCODE ?= 1
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SAFE_ASSERT_EXITCODE,Safe assert execution failure exit code.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_SAFE_CMD_TIMEOUT ?= 300
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SAFE_CMD_TIMEOUT,Safe command execution failure timeout.)
|
2024-07-02 02:11:13 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_SAFE_CMD_EXITCODE ?= 1
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_SAFE_CMD_EXITCODE,Safe command execution failure exit code.)
|
2020-12-23 17:14:13 +00:00
|
|
|
|
|
2024-07-02 20:56:17 +00:00
|
|
|
|
MB_AUTOEXEC_STARTUP_NOTE ?=
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_STARTUP_NOTE,When set this startup note message is shown.)
|
2024-07-02 20:56:17 +00:00
|
|
|
|
|
2024-07-10 19:11:31 +00:00
|
|
|
|
MB_AUTOEXEC_COLOR_FG ?= 141
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_COLOR_FG,Default foreground color if none is given.)
|
2024-07-02 20:56:17 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_COLOR_BG ?= 000
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_COLOR_BG,Default background color if none if given.)
|
2024-07-02 20:56:17 +00:00
|
|
|
|
|
2024-07-03 11:30:35 +00:00
|
|
|
|
MB_AUTOEXEC_EMBED_VARS ?=
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_EMBED_VARS,List of host env variables to copy to msx as 'MSX_x' variables.)
|
2024-07-03 11:30:35 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_EMBED_USER ?= USER
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_EMBED_USER,Embedds this host variable to the msx as 'MB_USER' variable.)
|
2024-07-03 09:52:43 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_TIME_FORMAT ?= 24
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_TIME_FORMAT,The time format the msx will get set to.)
|
2024-07-03 09:52:43 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_DATE_FORMAT ?= DD/MM/YY
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_DATE_FORMAT,The time format the msx will get set to.)
|
2024-07-03 09:52:43 +00:00
|
|
|
|
|
2024-07-05 18:43:18 +00:00
|
|
|
|
MB_AUTOEXEC_PROMPT_FORMAT ?= %MB_USER%@%_CWD%*
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_PROMPT_FORMAT,The prompt format for command 2.40 and higher.)
|
2024-07-03 09:52:43 +00:00
|
|
|
|
|
|
|
|
|
MB_AUTOEXEC_PROMPT_SPACE ?= on
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-variable,MB_AUTOEXEC_PROMPT_SPACE,When on adds an white space after the prompt format.)
|
2024-07-03 09:52:43 +00:00
|
|
|
|
|
2024-07-02 13:34:26 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-cmd
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )echo -e "$(2)\r" >> $(1)/autoexec.bat
|
2020-12-23 17:14:13 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-cmd,Appends an command.,<dir> <command>)
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-echo
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),echo $(subst >,>,$(2)))
|
2020-12-23 17:14:13 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-echo,Appends an echo message.,<dir> <message>)
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-rem
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),rem $(2))
|
2020-12-23 17:14:13 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-rem,Appends an script remark.,<dir> <remark>)
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-show-gui
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl headless_show_gui)
|
2020-12-23 17:14:13 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-show-gui,Appends headless show gui command.,<dir>)
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-stop-fail
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl fail_after 0)
|
2020-12-23 17:14:13 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-stop-fail,Appends stop automatic failure command.,<dir>)
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-exit
|
2024-07-16 23:36:38 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_FLIGHT_SCREEN)),$(call mb-make-call,mb-autoexec-append-save-screenshot,$(1)))
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl headless_exit)
|
2020-12-23 17:14:13 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-exit,Appends exit emulation command.,<dir>)
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-plug-porta
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl boot_exec_plug_porta $(2))
|
2024-06-29 02:46:30 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-plug-porta,Appends an plug device into joyporta action.,<dir> <plug-dev>)
|
2024-07-02 22:38:25 +00:00
|
|
|
|
|
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-plug-portb
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl boot_exec_plug_portb $(2))
|
2024-07-02 22:38:25 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-plug-portb,Appends an plug device into joyportb action.,<dir> <plug-dev>)
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-save-screenshot
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl night_flight_save_screenshot $(2))
|
2024-06-29 13:47:52 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-save-screenshot,Appends save screenshot command.,<dir> [prefix])
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-save-video
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl night_flight_save_video $(2))
|
2024-06-29 13:47:52 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-save-video,Appends save video command.,<dir> [prefix])
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-safe-assert
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl fail_after $(if $(3),$(3),$(MB_AUTOEXEC_SAFE_ASSERT_TIMEOUT)) seconds err_test $(if $(4),$(4),$(MB_AUTOEXEC_SAFE_ASSERT_EXITCODE)))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-echo,$(1),mb::safe assert $(2))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),$(2))
|
2024-06-26 00:26:48 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-safe-assert,Appends running a safe assert.,<dir> <cmd> [timeout] [exit-code])
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-append-safe-cmd
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl fail_after $(if $(3),$(3),$(MB_AUTOEXEC_SAFE_CMD_TIMEOUT)) seconds err_cmd $(if $(4),$(4),$(MB_AUTOEXEC_SAFE_CMD_EXITCODE)))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-echo,$(1),mb::safe command $(2))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),$(2))
|
2024-06-27 14:58:21 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-append-safe-cmd,Appends running a safe command.,<dir> <cmd> [timeout] [exit-code])
|
2024-07-02 01:27:14 +00:00
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define _mb-autoexec-write-preboot
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),$(2)mbboot80)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),$(2)omsxctl boot_exec_setcolor $(if $(3),$(3),$(MB_AUTOEXEC_COLOR_FG)) $(if $(4),$(4),$(MB_AUTOEXEC_COLOR_BG)))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),$(2)omsxctl fail_after $(MB_AUTOEXEC_STARTUP_TIMEOUT) seconds err_exec $(MB_AUTOEXEC_STARTUP_EXITCODE))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_SHOW_INIT)),$(call mb-make-call,mb-autoexec-append-cmd,$(1),$(2)omsxctl boot_exec_show_init))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_SHOW_VERSION)),$(call mb-make-call,mb-autoexec-append-cmd,$(1),ver))
|
2024-07-19 00:12:39 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),PATH + %@DRIVE%\;)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(wildcard $(1)/utils),$(call mb-make-call,mb-autoexec-append-cmd,$(1),PATH + %@DRIVE%\UTILS))
|
2024-07-02 13:34:26 +00:00
|
|
|
|
endef
|
|
|
|
|
|
2024-07-02 21:18:20 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-autoexec-write-default
|
2024-07-18 20:06:15 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-os-echo-remark,$(MB_I18N_AUTOEXEC_WRITE) $(1))
|
2024-07-16 15:20:47 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-os-file-empty,$(1)/autoexec.bat)
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(wildcard $(1)/utils),$(call mb-make-call,_mb-autoexec-write-preboot,$(1),utils\,$(2),$(3)),$(call mb-make-call,_mb-autoexec-write-preboot,$(1),,$(2),$(3)))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_SHOW_HOST)),$(call mb-make-call,mb-autoexec-append-cmd,$(1),omsxctl boot_exec_show_host))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(MB_AUTOEXEC_STARTUP_NOTE),$(call mb-make-call,mb-autoexec-append-echo,$(1),mb::note $(MB_AUTOEXEC_STARTUP_NOTE)))
|
2024-07-16 23:33:54 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_FLIGHT_VIDEO)),$(call mb-make-call,mb-autoexec-append-save-video,$(1)))
|
2024-07-17 13:08:25 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )echo -n -e "$(subst $(call mb-make-call,mb-make-space-white)set,set,$(foreach var,$(MB_AUTOEXEC_EMBED_VARS),set MSX_$(var)$(MB_MAKE_EQUALS)$($(var))\r\n))" >> $(1)/autoexec.bat
|
|
|
|
|
$(MB_ᕽᕽᕽ )echo -n -e "$(subst $(call mb-make-call,mb-make-space-white)set,set,$(foreach var,$(MB_AUTOEXEC_EMBED_VARS),echo MSX_$(var)$(MB_MAKE_EQUALS)%MSX_$(var)%\r\n))" >> $(1)/autoexec.bat
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),set TIME$(MB_MAKE_EQUALS)$(MB_AUTOEXEC_TIME_FORMAT))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),set DATE$(MB_MAKE_EQUALS)$(MB_AUTOEXEC_DATE_FORMAT))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_SHOW_PATH)),$(call mb-make-call,mb-autoexec-append-cmd,$(1),echo mb::path %PATH%))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),set MB_SNAIL$(MB_MAKE_EQUALS)$(notdir $@))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),set MB_USER$(MB_MAKE_EQUALS)$($(MB_AUTOEXEC_EMBED_USER)))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_SHOW_USER)),$(call mb-make-call,mb-autoexec-append-echo,$(1),mb::user %MB_USER%))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),set MB_SLIME$(MB_MAKE_EQUALS)$(1))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb-make-call,mb-autoexec-append-cmd,$(1),set MB_TARGET$(MB_MAKE_EQUALS)$@)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_SHOW_FOLDER)),$(call mb-make-call,mb-autoexec-append-echo,$(1),mb::bath %MB_SLIME%))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_SHOW_TARGET)),$(call mb-make-call,mb-autoexec-append-echo,$(1),mb::pipe %MB_TARGET%))
|
2024-07-17 13:08:25 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_PROMPT_SPACE)),$(call mb-make-call,mb-autoexec-append-cmd,$(1),set PROMPT \"$(value MB_AUTOEXEC_PROMPT_FORMAT)$(call mb-make-call,mb-make-space-white)\"))
|
2024-07-16 14:45:37 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(if $(filter on,$(MB_AUTOEXEC_PROMPT_SPACE)),,$(call mb-make-call,mb-autoexec-append-cmd,$(1),,set PROMPT \"$(value MB_AUTOEXEC_PROMPT_FORMAT)\"))
|
2020-12-23 17:14:13 +00:00
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function,mb-autoexec-write-default,Write a default autoexec.bat file.,<dir> [fg-color] [bg-color])
|
2020-12-23 17:14:13 +00:00
|
|
|
|
|