summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-06-16 21:30:54 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-18 09:23:02 +0000
commit9b9b7f97a6120a296959323f728c51c1ac7a45af (patch)
tree086f58632a5119ca460d1c6c5af4a91ad3a7620c /Makefile
parent54097db36ddc667d3c662ec5631f6204b5ffb23c (diff)
downloadchrome-ec-9b9b7f97a6120a296959323f728c51c1ac7a45af.tar.gz
cleanup: Update Makefile's .PHONY targets
This puts the .PHONY declaration next to the target, so that we don't overlook any. BUG=none BRANCH=none TEST=make buildall Signed-off-by: Bill Richardson <wfrichar@chromium.org> Change-Id: I944537fdc3a90691a7f2de0bff9d7f9df4898cf8 Reviewed-on: https://chromium-review.googlesource.com/278019 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1cfe28a964..2555ef0180 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,6 @@ SYMLINK := $(shell readlink $(lastword $(MAKEFILE_LIST)))
ifneq (,$(SYMLINK))
.PHONY: restart
-
restart: .DEFAULT
@true
@@ -38,10 +37,10 @@ PEM ?= board/$(BOARD)/dev_key.pem
include Makefile.toolchain
-# Define the traditional first target. The dependencies of this are near the bottom
-# as they can be altered by chip and board files.
-all:
+# Define the traditional first target. The dependencies of this are near the
+# bottom as they can be altered by chip and board files.
.PHONY: all
+all:
# The board makefile sets $CHIP and the chip makefile sets $CORE.
# Include those now, since they must be defined for _flag_cfg below.