runtime: remove accidentally committed parts of a Makefile.

release-3
whitequark 2017-12-25 20:30:13 +00:00 committed by Sebastien Bourdeauducq
parent 99bb1b0b70
commit e364213b62
1 changed files with 1 additions and 4 deletions

View File

@ -17,7 +17,7 @@ all: runtime.bin runtime.fbi
$(RUSTOUT)/libruntime.a:
$(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 $@ $^ \
-lunwind-bare -lprintf-nofloat --eh-frame-hdr
@chmod -x $@
@ -25,9 +25,6 @@ runtime.elf: $(RUSTOUT)/libruntime.a ksupport_data.o glue.o
ksupport_data.o: ../ksupport/ksupport.elf
$(LD) -r -b binary -o $@ $<
%.o: $(RUNTIME_DIRECTORY)/%.c
$(compile)
%.bin: %.elf
$(OBJCOPY) -O binary $< $@
@chmod -x $@