forked from M-Labs/artiq
1
0
Fork 0

satman: remove stale reference to main.c

This commit is contained in:
Sebastien Bourdeauducq 2017-01-27 23:24:07 +08:00
parent 55ce40ece0
commit 6acb8021e1
1 changed files with 1 additions and 4 deletions

View File

@ -3,8 +3,6 @@ include $(MISOC_DIRECTORY)/software/common.mak
PYTHON ?= python3.5 PYTHON ?= python3.5
OBJECTS := main.o
RUSTOUT := cargo/or1k-unknown-none/debug RUSTOUT := cargo/or1k-unknown-none/debug
LDFLAGS += --gc-sections \ LDFLAGS += --gc-sections \
@ -21,7 +19,7 @@ $(RUSTOUT)/libsatman.a:
cargo build --target=or1k-unknown-none \ cargo build --target=or1k-unknown-none \
--manifest-path $(realpath $(SATMAN_DIRECTORY))/Cargo.toml --manifest-path $(realpath $(SATMAN_DIRECTORY))/Cargo.toml
satman.elf: $(OBJECTS) $(RUSTOUT)/libsatman.a satman.elf: $(RUSTOUT)/libsatman.a
$(LD) $(LDFLAGS) \ $(LD) $(LDFLAGS) \
-T $(SATMAN_DIRECTORY)/satman.ld \ -T $(SATMAN_DIRECTORY)/satman.ld \
-o $@ \ -o $@ \
@ -40,7 +38,6 @@ satman.elf: $(OBJECTS) $(RUSTOUT)/libsatman.a
@echo " MSCIMG " $@ && $(PYTHON) -m misoc.tools.mkmscimg -f -o $@ $< @echo " MSCIMG " $@ && $(PYTHON) -m misoc.tools.mkmscimg -f -o $@ $<
clean: clean:
$(RM) $(OBJECTS)
$(RM) satman.elf satman.bin satman.fbi .*~ *~ $(RM) satman.elf satman.bin satman.fbi .*~ *~
$(RM) -rf cargo $(RM) -rf cargo