Commit 35f12f60 authored by Alessandro Rubini's avatar Alessandro Rubini

Makefile: bugfix for dependencies on autoconf.h

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 79e86db6
......@@ -94,7 +94,7 @@ all: tools $(OUTPUT).ram $(OUTPUT).vhd
.PRECIOUS: %.elf %.bin
.PHONY: all tools clean gitmodules
$(OUTPUT).elf: $(LDS) silentoldconfig gitmodules $(OUTPUT).o
$(OUTPUT).elf: $(LDS) $(AUTOCONF) gitmodules $(OUTPUT).o
$(CC) $(CFLAGS) -DGIT_REVISION=\"$(REVISION)\" -c revision.c
${CC} -o $@ revision.o $(OUTPUT).o $(LDFLAGS)
${OBJDUMP} -d $(OUTPUT).elf > $(OUTPUT)_disasm.S
......@@ -112,6 +112,8 @@ $(OUTPUT).o: $(OBJS)
%.vhd: tools %.bin
./tools/genramvhd -s 90112 $*.bin > $@
$(AUTOCONF): silentoldconfig
$(OBJS): include/board.h
include/board.h:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment