Add missing MB_BUILD_SDCC_FLAGS
This commit is contained in:
parent
14bda48fb4
commit
aaaf182715
|
@ -2,6 +2,7 @@
|
||||||
MB_BUILD_FLAG_CPU ?= -mz80
|
MB_BUILD_FLAG_CPU ?= -mz80
|
||||||
MB_BUILD_FLAG_LD ?= --nostdinc
|
MB_BUILD_FLAG_LD ?= --nostdinc
|
||||||
MB_BUILD_SDASM_FLAGS ?= -g -l -c -o
|
MB_BUILD_SDASM_FLAGS ?= -g -l -c -o
|
||||||
|
MB_BUILD_SDCC_FLAGS ?=
|
||||||
MB_BUILD_SDAR_FLAGS ?= -rc
|
MB_BUILD_SDAR_FLAGS ?= -rc
|
||||||
MB_BUILD_H2B_CMD ?= $(PATH_HEX2BIN)/hex2bin
|
MB_BUILD_H2B_CMD ?= $(PATH_HEX2BIN)/hex2bin
|
||||||
MB_BUILD_SDCC_CMD ?= $(PATH_SDCC)/sdcc
|
MB_BUILD_SDCC_CMD ?= $(PATH_SDCC)/sdcc
|
||||||
|
@ -29,7 +30,7 @@ endef
|
||||||
|
|
||||||
define mb_link_asm
|
define mb_link_asm
|
||||||
@echo === Link asm module at $(3)
|
@echo === Link asm module at $(3)
|
||||||
$(MB_BUILD_SDCC_CMD) $(MB_BUILD_FLAG_CPU) --no-std-crt0 --code-loc $(3) -o $(1) $(2)
|
$(MB_BUILD_SDCC_CMD) $(MB_BUILD_FLAG_CPU) $(MB_BUILD_SDCC_FLAGS) --no-std-crt0 --code-loc $(3) -o $(1) $(2)
|
||||||
endef
|
endef
|
||||||
define mb_link_asm_0000
|
define mb_link_asm_0000
|
||||||
$(call mb_link_asm,$(1),$(2),0x0000)
|
$(call mb_link_asm,$(1),$(2),0x0000)
|
||||||
|
|
Loading…
Reference in a new issue