From 6acb8021e14bdd0943c35b50c7c746bb327cd36b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 27 Jan 2017 23:24:07 +0800 Subject: [PATCH] satman: remove stale reference to main.c --- artiq/firmware/satman/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/artiq/firmware/satman/Makefile b/artiq/firmware/satman/Makefile index 9aec66566..2ebd64e9c 100644 --- a/artiq/firmware/satman/Makefile +++ b/artiq/firmware/satman/Makefile @@ -3,8 +3,6 @@ include $(MISOC_DIRECTORY)/software/common.mak PYTHON ?= python3.5 -OBJECTS := main.o - RUSTOUT := cargo/or1k-unknown-none/debug LDFLAGS += --gc-sections \ @@ -21,7 +19,7 @@ $(RUSTOUT)/libsatman.a: cargo build --target=or1k-unknown-none \ --manifest-path $(realpath $(SATMAN_DIRECTORY))/Cargo.toml -satman.elf: $(OBJECTS) $(RUSTOUT)/libsatman.a +satman.elf: $(RUSTOUT)/libsatman.a $(LD) $(LDFLAGS) \ -T $(SATMAN_DIRECTORY)/satman.ld \ -o $@ \ @@ -40,7 +38,6 @@ satman.elf: $(OBJECTS) $(RUSTOUT)/libsatman.a @echo " MSCIMG " $@ && $(PYTHON) -m misoc.tools.mkmscimg -f -o $@ $< clean: - $(RM) $(OBJECTS) $(RM) satman.elf satman.bin satman.fbi .*~ *~ $(RM) -rf cargo