mirror of https://github.com/Desuuuu/klipper.git
build: Link objects ahead of libraries to avoid failures on some platforms
Signed-off-by: Sebastian Meyer <ich@sebmeyer.de>
This commit is contained in:
parent
d139389267
commit
58dd6d9106
2
Makefile
2
Makefile
|
@ -85,7 +85,7 @@ $(OUT)compile_time_request.o: $(patsubst %.c, $(OUT)src/%.o.ctr,$(src-y)) ./scri
|
||||||
|
|
||||||
$(OUT)klipper.elf: $(patsubst %.c, $(OUT)src/%.o,$(src-y)) $(OUT)compile_time_request.o
|
$(OUT)klipper.elf: $(patsubst %.c, $(OUT)src/%.o,$(src-y)) $(OUT)compile_time_request.o
|
||||||
@echo " Linking $@"
|
@echo " Linking $@"
|
||||||
$(Q)$(CC) $(CFLAGS_klipper.elf) $^ -o $@
|
$(Q)$(CC) $^ $(CFLAGS_klipper.elf) -o $@
|
||||||
|
|
||||||
################ Kconfig rules
|
################ Kconfig rules
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue