Commit 69a91659 authored by Ross Burton's avatar Ross Burton
Browse files

tools: don't clean when building



Don't depend on clean when building, as the user is capable of cleaning
if required and this introduces a race where "all" depends on both the
compile and the clean in parallel.  It's quite possible for some of the
compile to happen in parallel with the clean, which results in the link
failing as objects just built are missing.

Change-Id: I710711eea7483cafa13251c5d94ec693148bd001
Signed-off-by: default avatarRoss Burton <ross.burton@arm.com>
parent 986f8330
......@@ -59,7 +59,7 @@ HOSTCC ?= gcc
.PHONY: all clean realclean
all: clean ${BINARY}
all: ${BINARY}
${BINARY}: ${OBJECTS} Makefile
@echo " HOSTLD $@"
......
......@@ -46,7 +46,7 @@ HOSTCC ?= gcc
.PHONY: all clean realclean
all: clean ${BINARY}
all: ${BINARY}
${BINARY}: ${OBJECTS} Makefile
@echo " HOSTLD $@"
......
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