forked from M-Labs/artiq
runtime: remove accidentally committed parts of a Makefile.
This commit is contained in:
parent
230f2e5e18
commit
061fb3dcd5
|
@ -17,7 +17,7 @@ all: runtime.bin runtime.fbi
|
||||||
$(RUSTOUT)/libruntime.a:
|
$(RUSTOUT)/libruntime.a:
|
||||||
$(cargo) --manifest-path $(RUNTIME_DIRECTORY)/Cargo.toml
|
$(cargo) --manifest-path $(RUNTIME_DIRECTORY)/Cargo.toml
|
||||||
|
|
||||||
runtime.elf: $(RUSTOUT)/libruntime.a ksupport_data.o glue.o
|
runtime.elf: $(RUSTOUT)/libruntime.a ksupport_data.o
|
||||||
$(LD) $(LDFLAGS) -T $(RUNTIME_DIRECTORY)/runtime.ld -o $@ $^ \
|
$(LD) $(LDFLAGS) -T $(RUNTIME_DIRECTORY)/runtime.ld -o $@ $^ \
|
||||||
-lunwind-bare -lprintf-nofloat --eh-frame-hdr
|
-lunwind-bare -lprintf-nofloat --eh-frame-hdr
|
||||||
@chmod -x $@
|
@chmod -x $@
|
||||||
|
@ -25,9 +25,6 @@ runtime.elf: $(RUSTOUT)/libruntime.a ksupport_data.o glue.o
|
||||||
ksupport_data.o: ../ksupport/ksupport.elf
|
ksupport_data.o: ../ksupport/ksupport.elf
|
||||||
$(LD) -r -b binary -o $@ $<
|
$(LD) -r -b binary -o $@ $<
|
||||||
|
|
||||||
%.o: $(RUNTIME_DIRECTORY)/%.c
|
|
||||||
$(compile)
|
|
||||||
|
|
||||||
%.bin: %.elf
|
%.bin: %.elf
|
||||||
$(OBJCOPY) -O binary $< $@
|
$(OBJCOPY) -O binary $< $@
|
||||||
@chmod -x $@
|
@chmod -x $@
|
||||||
|
|
Loading…
Reference in New Issue