From f4af723fd86fe0b2aa7cd5eed9b6c8362a3d48fe Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Fri, 12 Apr 2019 15:24:57 +0200 Subject: payloads/U-Boot: Use a phony target for checking out a revision Change-Id: I5ea4df33545f69c06e4ae2158a1a6c14ead784a7 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/32304 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese --- payloads/external/U-Boot/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/payloads/external/U-Boot/Makefile b/payloads/external/U-Boot/Makefile index 653662f0ff..c17b67fd4e 100644 --- a/payloads/external/U-Boot/Makefile +++ b/payloads/external/U-Boot/Makefile @@ -51,11 +51,11 @@ else touch $(project_dir)/$(STABLE_COMMIT_ID) endif -$(project_dir)/tag-$(TAG-y): fetch +checkout: fetch echo " Checking out $(project_name) revision $(TAG-y)" cd $(project_dir); git checkout master; git branch -D coreboot 2>/dev/null; git checkout -b coreboot $(TAG-y) -config: $(project_dir)/$(TAG-y) +config: checkout rm -f $(project_config_file) ifneq ($(CONFIG_PAYLOAD_CONFIGFILE),) ifneq ("$(wildcard $(CONFIG_PAYLOAD_CONFIGFILE))","") @@ -83,4 +83,4 @@ distclean: print-repo-info: echo "$(project_git_repo) $(project_dir)" -.PHONY: config build clean distclean fetch print-repo-info +.PHONY: checkout config build clean distclean fetch print-repo-info -- cgit v1.2.3