2024-07-12 15:59:26 +00:00
|
|
|
|
|
2024-07-12 17:30:19 +00:00
|
|
|
|
define __mb_flow_sdcc_bdos_mono
|
2024-07-12 15:59:26 +00:00
|
|
|
|
.RECIPEPREFIX := $(MB_@RECIPE)
|
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(1)/@@compile-deps:: $(1)/$(3).rel
|
|
|
|
|
$(1)/$(3).rel: $(2)/$(3).asm | $(1)/@prepare
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(MB_@RECIPE)$$(call mb_make_call,mb_sdcc_compile_asm,$$<,$$@)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb_make_call,mb_doc_target_deep,$(1)/$(3).rel)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb_make_call,mb_proj_grow_deps_phase,@compile,$(1)/$(3).rel)
|
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(1)/@@link-deps:: $(1)/$(3).hex
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(1)/$(3).hex: $(1)/$(3).rel
|
|
|
|
|
$(MB_@RECIPE)$$(call mb_make_call,mb_sdcc_link_asm_bdos,$$<,$$@)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb_make_call,mb_doc_target_deep,$(1)/$(3).hex)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb_make_call,mb_proj_grow_deps_phase,@link,$(1)/$(3).hex)
|
|
|
|
|
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(1)/@@build-deps:: $(1)/$(3).com
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(1)/$(3).com: $(1)/$(3).hex
|
|
|
|
|
$(MB_@RECIPE)$$(call mb_make_call,mb_sdcc_objcopy,$$<,$$@)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb_make_call,mb_doc_target_deep,$(1)/$(3).com)
|
|
|
|
|
$(MB_ᕽᕽᕽ )$$(call mb_make_call,mb_proj_grow_deps_phase,@build,$(1)/$(3).com)
|
|
|
|
|
|
|
|
|
|
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
|
|
|
|
|
endef
|
2024-07-12 17:30:19 +00:00
|
|
|
|
define mb_flow_sdcc_bdos_mono
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_make_check_arg3,$(0),$(1),$(2),$(3))
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flow_proj_setup,$(1),@init,$(1))
|
|
|
|
|
$(MB_ᕽᕽᕽ )$(call mb_make_call,mb_flow_proj_module_run,$(1))
|
2024-07-12 15:59:26 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(eval $(call mb_make_call,__$(0),$(1),$(2),$(3)))
|
|
|
|
|
endef
|
2024-07-12 17:30:19 +00:00
|
|
|
|
$(call mb_make_call,mb_doc_function_flow,mb_flow_sdcc_bdos_mono,"Inject flow of sdcc toolchain bdos mono file module.","<bin-dir> <src-dir> <objname>")
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|