Added assert-all build target.
This commit is contained in:
parent
6cec28f1bc
commit
4b1d4e1d20
6 changed files with 32 additions and 17 deletions
|
|
@ -21,7 +21,7 @@ endif
|
|||
# Remove space after separator
|
||||
MB_PSEP = $(strip $(MB_SEP))
|
||||
|
||||
# Needed for comma in call arguments (like for l80.com)
|
||||
# Needed for comma in call arguments (like for l80.com)
|
||||
MB_COMMA:=,
|
||||
|
||||
define mb_clean
|
||||
|
|
|
|||
|
|
@ -16,13 +16,11 @@ endef
|
|||
|
||||
define mb_msxhub_file
|
||||
$(if $(wildcard $(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(2))),,$(call _mb_msxhub_fetch_file,$(2)))
|
||||
$(call mb_copy,$(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(2)),$(dir $(1))$(call _mb_lowercase,$(notdir $(1))))
|
||||
$(if $(wildcard $(dir $(1))$(call _mb_lowercase,$(notdir $(1)))),,$(call mb_copy,$(MB_MSXHUB_CACHE)/$(subst $(MB_MSXHUB_API)/,,$(2)),$(dir $(1))$(call _mb_lowercase,$(notdir $(1)))))
|
||||
endef
|
||||
|
||||
define mb_msxhub_get_dos2_sys
|
||||
define mb_msxhub_get_dos2
|
||||
$(call mb_msxhub_file,$(1)/MSXDOS2.SYS,$(MB_MSXHUB_API)/MSXDOS2/2.20-1/get/MSXDOS2/MSXDOS2.SYS)
|
||||
endef
|
||||
define mb_msxhub_get_dos2_com
|
||||
$(call mb_msxhub_file,$(1)/COMMAND2.COM,$(MB_MSXHUB_API)/MSXDOS2/2.20-1/get/MSXDOS2/COMMAND2.COM)
|
||||
endef
|
||||
|
||||
|
|
|
|||
|
|
@ -33,17 +33,25 @@ define _mb_openmsx_run
|
|||
JOYPORTB=$(MB_OPENMSX_JOYPORTB) \
|
||||
$(MB_OPENMSX_CMD)
|
||||
endef
|
||||
|
||||
define _mb_openmsx_run_dos
|
||||
$(call mb_msxhub_file,$(1)/omsxctl.com,$(MB_MSXHUB_API)/OMSXCTL/1.0-1/get/OMSXCTL/omsxctl.com)
|
||||
$(call _mb_openmsx_run,$(1))
|
||||
endef
|
||||
|
||||
# TODO: add msx1+allversions of dos to https://github.com/fr3nd/msxhub-packages/issues/18
|
||||
#define mb_openmsx_dos1
|
||||
# cp build/msxdos1/* $(1)
|
||||
# $(call mb_msxhub_get_dos1,$(1))
|
||||
# $(call _mb_openmsx_run_dos,$(1))
|
||||
#endef
|
||||
|
||||
define mb_openmsx_dos2
|
||||
$(call mb_msxhub_get_dos2_sys,$(1))
|
||||
$(call mb_msxhub_get_dos2_com,$(1))
|
||||
$(call _mb_openmsx_run_dos, $(1))
|
||||
$(call mb_msxhub_get_dos2,$(1))
|
||||
$(call _mb_openmsx_run_dos,$(1))
|
||||
endef
|
||||
|
||||
define mb_openmsx_macro80
|
||||
$(call mb_msxhub_get_macro80,$(1))
|
||||
$(call mb_openmsx_dos2,$(1))
|
||||
endef
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue