build lib with thumb
This commit is contained in:
parent
ac0691ea9c
commit
58561f5b71
|
@ -67,6 +67,10 @@ $(ISR): $(ISR:.o=.c)
|
||||||
%.dis: %.elf
|
%.dis: %.elf
|
||||||
$(OBJDUMP) -SD $< > $@
|
$(OBJDUMP) -SD $< > $@
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
$(CC) $(CFLAGS) $(THUMB_FLAGS) -MMD -c -o $@ $<
|
||||||
|
@$(FINALIZE_DEPENDENCY)
|
||||||
|
|
||||||
$(OBJDIR)/%.s: %.S
|
$(OBJDIR)/%.s: %.S
|
||||||
$(CPP) $(AFLAGS) -o $@ $<
|
$(CPP) $(AFLAGS) -o $@ $<
|
||||||
$(OBJDIR)/%.o: %.S
|
$(OBJDIR)/%.o: %.S
|
||||||
|
|
Loading…
Reference in a new issue