feat(boot): Now using GNU objcopy instead of mot2bin for building ROM images

This commit is contained in:
2025-09-04 20:32:07 -05:00
parent cc8a9fc95f
commit da1d22988e

View File

@@ -23,7 +23,7 @@ INCS := $(wildcard $(SRCDIR)*.inc)
AS := lwasm
LD := lwlink
FIX := mot2bin
FIX := objcopy
ASFLAGS := -f obj
LDFLAGS := -f srec -m map.txt -s linkscript
@@ -36,7 +36,7 @@ all: $(TARGROM)
# Fix srec into flashable bin file
$(TARGROM): $(TARGREC)
$(FIX) -out $@ $<
$(FIX) -I srec -O binary $< $@
# Link objects
$(TARGREC): $(OBJS)