Fixed sdcc asm compiler make variable names.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -6s

This commit is contained in:
Willem Cazander 2024-06-28 14:26:48 +02:00
parent 548035a643
commit 857cc43fa5

View file

@ -1,11 +1,11 @@
MB_SDCC_FLAG_CPU ?= -mz80
MB_SDCC_FLAG_LD ?= --nostdinc
MB_SDCC_ASM_FLAGS ?= -g -l -c -o
MB_SDCC_ASZ80_FLAGS ?= -g -l -c -o
MB_SDCC_CC_FLAGS ?=
MB_SDCC_AR_FLAGS ?= -rc
MB_SDCC_CC_CMD ?= $(PATH_SDCC)/sdcc
MB_SDCC_ASM_CMD ?= $(PATH_SDCC)/sdasz80
MB_SDCC_ASZ80_CMD ?= $(PATH_SDCC)/sdasz80
MB_SDCC_AR_CMD ?= $(PATH_SDCC)/sdar
MB_SDCC_OBJCOPY_CMD ?= $(PATH_SDCC)/sdobjcopy
@ -15,7 +15,7 @@ MB_SDCC_OBJCOPY_CMD ?= $(PATH_SDCC)/sdobjcopy
define mb_sdcc_compile_asm
@echo === Compile module asm.
$(MB_SDCC_ASM_CMD) $(MB_SDCC_ASM_FLAGS) $(1) $(2)
$(MB_SDCC_ASZ80_CMD) $(MB_SDCC_ASZ80_FLAGS) $(1) $(2)
endef
define mb_sdcc_link_asm_lib