runtime: remove accidentally committed parts of a Makefile.

pull/882/merge
whitequark 2017-12-25 20:30:13 +00:00
parent 230f2e5e18
commit 061fb3dcd5
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 $@