White space and added doc for autoexec.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 3s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 3s
This commit is contained in:
parent
65b40a74cb
commit
da35583307
|
@ -1,11 +1,36 @@
|
||||||
|
|
||||||
MB_AUTOEXEC_VERSION ?= on
|
MB_AUTOEXEC_SHOW_VERSION ?= on
|
||||||
MB_AUTOEXEC_STARTUP_TIMEOUT ?= 60
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SHOW_VERSION,"Print OS version on boot.",$(MB_AUTOEXEC_SHOW_VERSION))
|
||||||
MB_AUTOEXEC_STARTUP_EXITCODE ?= 124
|
|
||||||
MB_AUTOEXEC_TEST_TIMEOUT ?= 120
|
MB_AUTOEXEC_SHOW_PATH ?= on
|
||||||
MB_AUTOEXEC_TEST_EXITCODE ?= 1
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SHOW_PATH,"Print search path on boot.",$(MB_AUTOEXEC_SHOW_PATH))
|
||||||
MB_AUTOEXEC_CMD_TIMEOUT ?= 300
|
|
||||||
MB_AUTOEXEC_CMD_EXITCODE ?= 1
|
MB_AUTOEXEC_SHOW_CONFIG ?= on
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SHOW_CONFIG,"Print host config on boot.",$(MB_AUTOEXEC_SHOW_CONFIG))
|
||||||
|
|
||||||
|
MB_AUTOEXEC_SHOW_FOLDER ?= on
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SHOW_FOLDER,"Print host folder on boot.",$(MB_AUTOEXEC_SHOW_FOLDER))
|
||||||
|
|
||||||
|
MB_AUTOEXEC_SHOW_TARGET ?= on
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SHOW_TARGET,"Print host target on boot.",$(MB_AUTOEXEC_SHOW_TARGET))
|
||||||
|
|
||||||
|
MB_AUTOEXEC_STARTUP_TIMEOUT ?= 60
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_STARTUP_TIMEOUT,"Startup failure timeout of autoexec.",$(MB_AUTOEXEC_STARTUP_TIMEOUT))
|
||||||
|
|
||||||
|
MB_AUTOEXEC_STARTUP_EXITCODE ?= 124
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_STARTUP_EXITCODE,"Startup failure exit code of autoexec.",$(MB_AUTOEXEC_STARTUP_EXITCODE))
|
||||||
|
|
||||||
|
MB_AUTOEXEC_SAFE_TEST_TIMEOUT ?= 120
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SAFE_TEST_TIMEOUT,"Safe test execution failure timeout.",$(MB_AUTOEXEC_SAFE_TEST_TIMEOUT))
|
||||||
|
|
||||||
|
MB_AUTOEXEC_SAFE_TEST_EXITCODE ?= 1
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SAFE_TEST_EXITCODE,"Safe test execution failure exit code.",$(MB_AUTOEXEC_SAFE_TEST_EXITCODE))
|
||||||
|
|
||||||
|
MB_AUTOEXEC_SAFE_CMD_TIMEOUT ?= 300
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SAFE_CMD_TIMEOUT,"Safe command execution failure timeout.",$(MB_AUTOEXEC_SAFE_CMD_TIMEOUT))
|
||||||
|
|
||||||
|
MB_AUTOEXEC_SAFE_CMD_EXITCODE ?= 1
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_AUTOEXEC_SAFE_CMD_EXITCODE,"Safe command execution failure exit code.",$(MB_AUTOEXEC_SAFE_CMD_EXITCODE))
|
||||||
|
|
||||||
define mb_autoexec_append_cmd
|
define mb_autoexec_append_cmd
|
||||||
echo "$(2)\r" >> $(1)/autoexec.bat
|
echo "$(2)\r" >> $(1)/autoexec.bat
|
||||||
|
@ -54,14 +79,14 @@ endef
|
||||||
MB_DOC_HELP_FUNCTION += $(call mb_doc_function,mb_autoexec_append_save_video,"Appends save video command.","<dir> [prefix]")
|
MB_DOC_HELP_FUNCTION += $(call mb_doc_function,mb_autoexec_append_save_video,"Appends save video command.","<dir> [prefix]")
|
||||||
|
|
||||||
define mb_autoexec_append_safe_test
|
define mb_autoexec_append_safe_test
|
||||||
$(call mb_autoexec_append_cmd,$(1),omsxctl fail_after $(if $(3),$(3),$(MB_AUTOEXEC_TEST_TIMEOUT)) seconds failed_test $(if $(4),$(4),$(MB_AUTOEXEC_TEST_EXITCODE)))
|
$(call mb_autoexec_append_cmd,$(1),omsxctl fail_after $(if $(3),$(3),$(MB_AUTOEXEC_SAFE_TEST_TIMEOUT)) seconds failed_test $(if $(4),$(4),$(MB_AUTOEXEC_SAFE_TEST_EXITCODE)))
|
||||||
$(call mb_autoexec_append_echo,$(1),Running test: $(2))
|
$(call mb_autoexec_append_echo,$(1),Running test: $(2))
|
||||||
$(call mb_autoexec_append_cmd,$(1),$(2))
|
$(call mb_autoexec_append_cmd,$(1),$(2))
|
||||||
endef
|
endef
|
||||||
MB_DOC_HELP_FUNCTION += $(call mb_doc_function,mb_autoexec_append_safe_test,"Appends running a safe test.","<dir> <cmd> [timeout] [exit-code]")
|
MB_DOC_HELP_FUNCTION += $(call mb_doc_function,mb_autoexec_append_safe_test,"Appends running a safe test.","<dir> <cmd> [timeout] [exit-code]")
|
||||||
|
|
||||||
define mb_autoexec_append_safe_cmd
|
define mb_autoexec_append_safe_cmd
|
||||||
$(call mb_autoexec_append_cmd,$(1),omsxctl fail_after $(if $(3),$(3),$(MB_AUTOEXEC_CMD_TIMEOUT)) seconds failed_cmd $(if $(4),$(4),$(MB_AUTOEXEC_CMD_EXITCODE)))
|
$(call mb_autoexec_append_cmd,$(1),omsxctl fail_after $(if $(3),$(3),$(MB_AUTOEXEC_SAFE_CMD_TIMEOUT)) seconds failed_cmd $(if $(4),$(4),$(MB_AUTOEXEC_SAFE_CMD_EXITCODE)))
|
||||||
$(call mb_autoexec_append_echo,$(1),Running command: $(2))
|
$(call mb_autoexec_append_echo,$(1),Running command: $(2))
|
||||||
$(call mb_autoexec_append_cmd,$(1),$(2))
|
$(call mb_autoexec_append_cmd,$(1),$(2))
|
||||||
endef
|
endef
|
||||||
|
@ -76,12 +101,12 @@ define mb_autoexec_write_default
|
||||||
$(call mb_autoexec_append_cmd,$(1),omsxctl boot_exec_color_vdp)
|
$(call mb_autoexec_append_cmd,$(1),omsxctl boot_exec_color_vdp)
|
||||||
$(if $(filter on,$(MB_FLIGHT_VIDEO)),$(call mb_autoexec_append_save_video,$(1)))
|
$(if $(filter on,$(MB_FLIGHT_VIDEO)),$(call mb_autoexec_append_save_video,$(1)))
|
||||||
$(call mb_autoexec_append_cmd,$(1),omsxctl fail_after $(MB_AUTOEXEC_STARTUP_TIMEOUT) seconds failed_exec $(MB_AUTOEXEC_STARTUP_EXITCODE))
|
$(call mb_autoexec_append_cmd,$(1),omsxctl fail_after $(MB_AUTOEXEC_STARTUP_TIMEOUT) seconds failed_exec $(MB_AUTOEXEC_STARTUP_EXITCODE))
|
||||||
$(if $(filter on,$(MB_AUTOEXEC_VERSION)),$(call mb_autoexec_append_cmd,$(1),ver))
|
$(if $(filter on,$(MB_AUTOEXEC_SHOW_VERSION)),$(call mb_autoexec_append_cmd,$(1),ver))
|
||||||
$(if $(wildcard $(1)/utils),$(call mb_autoexec_append_cmd,$(1),PATH + A:\; A:\UTILS))
|
$(if $(wildcard $(1)/utils),$(call mb_autoexec_append_cmd,$(1),PATH + A:\; A:\UTILS))
|
||||||
$(if $(wildcard $(1)/utils),$(call mb_autoexec_append_cmd,$(1),PATH))
|
$(if $(filter on,$(MB_AUTOEXEC_SHOW_PATH)),$(call mb_autoexec_append_cmd,$(1),PATH))
|
||||||
$(if $(filter on,$(MB_AUTOEXEC_VERSION)),$(call mb_autoexec_append_cmd,$(1),omsxctl boot_exec_config_info))
|
$(if $(filter on,$(MB_AUTOEXEC_SHOW_CONFIG)),$(call mb_autoexec_append_cmd,$(1),omsxctl boot_exec_config_info))
|
||||||
$(call mb_autoexec_append_echo,$(1),Run folder $(1))
|
$(if $(filter on,$(MB_AUTOEXEC_SHOW_FOLDER)),$(call mb_autoexec_append_echo,$(1),Run folder $(1)))
|
||||||
$(call mb_autoexec_append_echo,$(1),Run target $@)
|
$(if $(filter on,$(MB_AUTOEXEC_SHOW_TARGET)),$(call mb_autoexec_append_echo,$(1),Run target $@))
|
||||||
endef
|
endef
|
||||||
MB_DOC_HELP_FUNCTION += $(call mb_doc_function,mb_autoexec_write_default,"Write a default autoexec.bat file.","<dir> [text-mode]")
|
MB_DOC_HELP_FUNCTION += $(call mb_doc_function,mb_autoexec_write_default,"Write a default autoexec.bat file.","<dir> [text-mode]")
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,9 @@ MB_DOC_TXT_BUILD_PROJECT := "Welcome to the MSXBUILD help system.\\n\\nFor deta
|
||||||
MB_DOC_TXT_BUILD_TARGET := "Build one of the following make targets;\\n"
|
MB_DOC_TXT_BUILD_TARGET := "Build one of the following make targets;\\n"
|
||||||
MB_DOC_TXT_BUILD_VARIABLE := "Documention of the MSXBUILD variables;\\n"
|
MB_DOC_TXT_BUILD_VARIABLE := "Documention of the MSXBUILD variables;\\n"
|
||||||
MB_DOC_TXT_BUILD_FUNCTION := "Documention of the MSXBUILD functions;\\n"
|
MB_DOC_TXT_BUILD_FUNCTION := "Documention of the MSXBUILD functions;\\n"
|
||||||
MB_DOC_FORMAT ?= txt
|
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_DOC_FORMAT,"Output format of documention$(MB_CHAR_COMMA) only 'txt' is supported currently.",$(MB_DOC_FORMAT))
|
MB_DOC_FORMAT ?= txt
|
||||||
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_DOC_FORMAT,"Output format of documention$(MB_CHAR_COMMA) only 'txt' is supported currently.",$(MB_DOC_FORMAT))
|
||||||
|
|
||||||
|
|
||||||
define _mb_doc_xml_open
|
define _mb_doc_xml_open
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
|
|
||||||
MB_FLIGHT_SCREEN ?= off
|
MB_FLIGHT_SCREEN ?= off
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_SCREEN,"Creates screenshots on exit of openMSX.",$(MB_FLIGHT_SCREEN))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_SCREEN,"Creates screenshots on exit of openMSX.",$(MB_FLIGHT_SCREEN))
|
||||||
|
|
||||||
MB_FLIGHT_VIDEO ?= off
|
MB_FLIGHT_VIDEO ?= off
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_VIDEO,"Create video of every build pipe session.",$(MB_FLIGHT_VIDEO))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_VIDEO,"Create video of every build pipe session.",$(MB_FLIGHT_VIDEO))
|
||||||
|
|
||||||
MB_FLIGHT_PREFIX ?= msxbuild
|
MB_FLIGHT_PREFIX ?= msxbuild
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_PREFIX,"Prefix for video and screenshot flight files.",$(MB_FLIGHT_PREFIX))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_PREFIX,"Prefix for video and screenshot flight files.",$(MB_FLIGHT_PREFIX))
|
||||||
|
|
||||||
MB_FLIGHT_SEPERATOR ?= -
|
MB_FLIGHT_SEPERATOR ?= -
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_SEPERATOR,"File and index number seperator for flight files.",$(MB_FLIGHT_SEPERATOR))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_SEPERATOR,"File and index number seperator for flight files.",$(MB_FLIGHT_SEPERATOR))
|
||||||
|
|
||||||
MB_FLIGHT_RECORD_FLAG ?= -doublesize
|
MB_FLIGHT_RECORD_FLAG ?= -doublesize
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_RECORD_FLAG,"Command parameter flag of the video recorder.",$(MB_FLIGHT_RECORD_FLAG))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_RECORD_FLAG,"Command parameter flag of the video recorder.",$(MB_FLIGHT_RECORD_FLAG))
|
||||||
|
|
||||||
MB_FLIGHT_VIDEO_NAME ?= flight-video
|
MB_FLIGHT_VIDEO_NAME ?= flight-video
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_VIDEO_NAME,"Video file name of the final result merged video.",$(MB_FLIGHT_VIDEO_NAME))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_FLIGHT_VIDEO_NAME,"Video file name of the final result merged video.",$(MB_FLIGHT_VIDEO_NAME))
|
||||||
|
|
||||||
define mb_flight_video_merge
|
define mb_flight_video_merge
|
||||||
@echo === Indexing flight videos
|
@echo === Indexing flight videos
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
MB_MSXHUB_API ?= https://msxhub.com/api
|
MB_MSXHUB_API ?= https://msxhub.com/api
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_MSXHUB_API,"Resource identifier for msxhub package rest api.",$(MB_MSXHUB_API))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_MSXHUB_API,"Resource identifier for msxhub package rest api.",$(MB_MSXHUB_API))
|
||||||
|
|
||||||
MB_MSXHUB_CACHE ?= $(MB_CACHE)/msxbuild/msxhub
|
MB_MSXHUB_CACHE ?= $(MB_CACHE)/msxbuild/msxhub
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_MSXHUB_CACHE,"Cache storage location.",$(MB_MSXHUB_CACHE))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_MSXHUB_CACHE,"Cache storage location.",$(MB_MSXHUB_CACHE))
|
||||||
|
|
||||||
define _mb_msxhub_file_fetch
|
define _mb_msxhub_file_fetch
|
||||||
@echo === Fetch msxhub file
|
@echo === Fetch msxhub file
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
|
|
||||||
# TODO: Convert pi MSX number data, the named pie slices to hyperdrive storage for distribution over red sea
|
# TODO: Convert pi MSX number data, the named pie slices to hyperdrive storage for distribution over red sea
|
||||||
MB_MSXROM_API ?= https://msxrom.distributedrebirth.love/calc-pi/v19.1
|
MB_MSXROM_API ?= https://msxrom.distributedrebirth.love/calc-pi/v19.1
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_MSXROM_API,"Resource identifier for msxrom pi pie named slices data.",$(MB_MSXROM_API))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_MSXROM_API,"Resource identifier for msxrom pi pie named slices data.",$(MB_MSXROM_API))
|
||||||
|
|
||||||
MB_MSXROM_CACHE ?= $(MB_CACHE)/msxbuild/msxrom
|
MB_MSXROM_CACHE ?= $(MB_CACHE)/msxbuild/msxrom
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_MSXROM_CACHE,"Cache storage location.",$(MB_MSXROM_CACHE))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_MSXROM_CACHE,"Cache storage location.",$(MB_MSXROM_CACHE))
|
||||||
|
|
||||||
define _mb_msxrom_file_fetch
|
define _mb_msxrom_file_fetch
|
||||||
@echo === Fetch msxrom file
|
@echo === Fetch msxrom file
|
||||||
|
|
|
@ -1,36 +1,36 @@
|
||||||
|
|
||||||
MB_OPENMSX_BOOT_TIMEOUT ?= 25
|
MB_OPENMSX_BOOT_TIMEOUT ?= 25
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_BOOT_TIMEOUT,"Timeout in seconds to guard for boot failures.",$(MB_OPENMSX_BOOT_TIMEOUT))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_BOOT_TIMEOUT,"Timeout in seconds to guard for boot failures.",$(MB_OPENMSX_BOOT_TIMEOUT))
|
||||||
|
|
||||||
MB_OPENMSX_BOOT_OS ?= nextor
|
MB_OPENMSX_BOOT_OS ?= nextor
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_BOOT_OS,"The default OS to run$(MB_CHAR_COMMA) valid values are; nextor$(MB_CHAR_COMMA)msxdos1$(MB_CHAR_COMMA)msxdos2",$(MB_OPENMSX_BOOT_OS))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_BOOT_OS,"The default OS to run$(MB_CHAR_COMMA) valid values are; nextor$(MB_CHAR_COMMA)msxdos1$(MB_CHAR_COMMA)msxdos2",$(MB_OPENMSX_BOOT_OS))
|
||||||
|
|
||||||
MB_OPENMSX_MACHINE ?= Philips_NMS_8250
|
MB_OPENMSX_MACHINE ?= Philips_NMS_8250
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_MACHINE,"The default MSX machine to use.",$(MB_OPENMSX_MACHINE))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_MACHINE,"The default MSX machine to use.",$(MB_OPENMSX_MACHINE))
|
||||||
|
|
||||||
MB_OPENMSX_MACHINE_RAM ?= ram1mb
|
MB_OPENMSX_MACHINE_RAM ?= ram1mb
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_MACHINE_RAM,"Extra ram extension for machine allowed: off$(MB_CHAR_COMMA)ram16k$(MB_CHAR_COMMA)ram64k$(MB_CHAR_COMMA)ram512k$(MB_CHAR_COMMA)ram1mb$(MB_CHAR_COMMA)ram2mb$(MB_CHAR_COMMA)ram4mb",$(MB_OPENMSX_MACHINE_RAM))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_MACHINE_RAM,"Extra ram extension for machine allowed: off$(MB_CHAR_COMMA)ram16k$(MB_CHAR_COMMA)ram64k$(MB_CHAR_COMMA)ram512k$(MB_CHAR_COMMA)ram1mb$(MB_CHAR_COMMA)ram2mb$(MB_CHAR_COMMA)ram4mb",$(MB_OPENMSX_MACHINE_RAM))
|
||||||
|
|
||||||
MB_OPENMSX_SPEED ?= $(if $(findstring turboR,$(MB_OPENMSX_MACHINE)),100,333)
|
MB_OPENMSX_SPEED ?= $(if $(findstring turboR,$(MB_OPENMSX_MACHINE)),100,333)
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_SPEED,"The throttled MSX emulation speed.",$(MB_OPENMSX_SPEED))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_SPEED,"The throttled MSX emulation speed.",$(MB_OPENMSX_SPEED))
|
||||||
|
|
||||||
MB_OPENMSX_ARGS ?=
|
MB_OPENMSX_ARGS ?=
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_ARGS,"Extra arguments to invoke openMSX with.",$(MB_OPENMSX_ARGS))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_ARGS,"Extra arguments to invoke openMSX with.",$(MB_OPENMSX_ARGS))
|
||||||
|
|
||||||
MB_OPENMSX_HDD_SIZE ?= 4m
|
MB_OPENMSX_HDD_SIZE ?= 4m
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_HDD_SIZE,"The default fire-hdd disk image size.",$(MB_OPENMSX_HDD_SIZE))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_HDD_SIZE,"The default fire-hdd disk image size.",$(MB_OPENMSX_HDD_SIZE))
|
||||||
|
|
||||||
MB_OPENMSX_SCALE_FACTOR ?= 3
|
MB_OPENMSX_SCALE_FACTOR ?= 3
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_SCALE_FACTOR,"The gui scale factor to display the emulation.",$(MB_OPENMSX_SCALE_FACTOR))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_SCALE_FACTOR,"The gui scale factor to display the emulation.",$(MB_OPENMSX_SCALE_FACTOR))
|
||||||
|
|
||||||
MB_OPENMSX_THROTTLE ?= off
|
MB_OPENMSX_THROTTLE ?= off
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_THROTTLE,"An on/off flag to control throttling globally.",$(MB_OPENMSX_THROTTLE))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_THROTTLE,"An on/off flag to control throttling globally.",$(MB_OPENMSX_THROTTLE))
|
||||||
|
|
||||||
MB_OPENMSX_HEADLESS ?= on
|
MB_OPENMSX_HEADLESS ?= on
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_HEADLESS,"Controls if openMSX starts headless.",$(MB_OPENMSX_HEADLESS))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_HEADLESS,"Controls if openMSX starts headless.",$(MB_OPENMSX_HEADLESS))
|
||||||
|
|
||||||
MB_OPENMSX_RENDERER ?= SDLGL-PP
|
MB_OPENMSX_RENDERER ?= SDLGL-PP
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_RENDERER,"The gui renderer used to display the window head with.",$(MB_OPENMSX_RENDERER))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_OPENMSX_RENDERER,"The gui renderer used to display the window head with.",$(MB_OPENMSX_RENDERER))
|
||||||
|
|
||||||
MB_OPENMSX_VDP_FG ?= 151
|
MB_OPENMSX_VDP_FG ?= 151
|
||||||
MB_OPENMSX_VDP_BG ?= 000
|
MB_OPENMSX_VDP_BG ?= 000
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
|
|
||||||
MB_SDCC_FLAG_CPU ?= -mz80
|
MB_SDCC_FLAG_CPU ?= -mz80
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_FLAG_CPU,"The SDCC cpu target option.",$(MB_SDCC_FLAG_CPU))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_FLAG_CPU,"The SDCC cpu target option.",$(MB_SDCC_FLAG_CPU))
|
||||||
|
|
||||||
MB_SDCC_FLAG_LD ?= --nostdinc
|
MB_SDCC_FLAG_LD ?= --nostdinc
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_FLAG_LD,"The SDCC linker option.",$(MB_SDCC_FLAG_LD))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_FLAG_LD,"The SDCC linker option.",$(MB_SDCC_FLAG_LD))
|
||||||
|
|
||||||
MB_SDCC_ASZ80_FLAGS ?= -g -l -c -o
|
MB_SDCC_ASZ80_FLAGS ?= -g -l -c -o
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_ASZ80_FLAGS,"The SDCC z80 asm compiler flags.",$(MB_SDCC_ASZ80_FLAGS))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_ASZ80_FLAGS,"The SDCC z80 asm compiler flags.",$(MB_SDCC_ASZ80_FLAGS))
|
||||||
|
|
||||||
MB_SDCC_CC_FLAGS ?=
|
MB_SDCC_CC_FLAGS ?=
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_CC_FLAGS,"The SDCC C compiler flags.",$(MB_SDCC_CC_FLAGS))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_CC_FLAGS,"The SDCC C compiler flags.",$(MB_SDCC_CC_FLAGS))
|
||||||
|
|
||||||
MB_SDCC_AR_FLAGS ?= -rc
|
MB_SDCC_AR_FLAGS ?= -rc
|
||||||
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_AR_FLAGS,"The SDCC module archive flags.",$(MB_SDCC_AR_FLAGS))
|
MB_DOC_HELP_VARIABLE += $(call mb_doc_variable,MB_SDCC_AR_FLAGS,"The SDCC module archive flags.",$(MB_SDCC_AR_FLAGS))
|
||||||
|
|
||||||
|
|
||||||
# TODO: Add C + mixed support;
|
# TODO: Add C + mixed support;
|
||||||
|
|
|
@ -10,7 +10,6 @@ PATH_MSXBUILD_REAL := $(if $(realpath $(PATH_MSXBUILD)),$(realpath $(PATH_MSXBUI
|
||||||
|
|
||||||
# Include extra features
|
# Include extra features
|
||||||
include $(PATH_MSXBUILD)/lib/make/mb_doc.mk
|
include $(PATH_MSXBUILD)/lib/make/mb_doc.mk
|
||||||
|
|
||||||
include $(PATH_MSXBUILD)/lib/make/mb_sdcc.mk
|
include $(PATH_MSXBUILD)/lib/make/mb_sdcc.mk
|
||||||
include $(PATH_MSXBUILD)/lib/make/mb_flight.mk
|
include $(PATH_MSXBUILD)/lib/make/mb_flight.mk
|
||||||
include $(PATH_MSXBUILD)/lib/make/mb_msxrom.mk
|
include $(PATH_MSXBUILD)/lib/make/mb_msxrom.mk
|
||||||
|
|
Loading…
Reference in a new issue