From: Jean THOMAS Date: Thu, 30 Jul 2020 13:53:13 +0000 (+0200) Subject: Remove main.img.bin target, add clean target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b87c48f6b873a3e0c8184b94070734e361ab8fbf;p=gram.git Remove main.img.bin target, add clean target --- diff --git a/examples/firmware/Makefile b/examples/firmware/Makefile index f86e259..626088e 100644 --- a/examples/firmware/Makefile +++ b/examples/firmware/Makefile @@ -20,7 +20,10 @@ main.bin: $(OBJS) link.ld ../../libgram/libgram.a $(CC) $(LDFLAGS) $(OBJS) ../../libgram/libgram.a -o main.elf $(OBJCOPY) -O binary main.elf main.bin -main.img.bin: main.bin - $(PYTHON) -m lambdasoc.software.bios.util.mkmscimg --little $< -o $@ +all: main.bin -all: main.img.bin +clean: + rm -f $(OBJS) + rm *.elf + rm *.bin +.PHONY: clean