diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2019-04-12 15:24:57 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-23 09:54:27 +0000 |
commit | f4af723fd86fe0b2aa7cd5eed9b6c8362a3d48fe (patch) | |
tree | 848ef97343282caa7bf78d40422813dc39572ef8 /payloads | |
parent | 52cb8a7fec55ba3c27235b29691b4ff0741daed5 (diff) |
payloads/U-Boot: Use a phony target for checking out a revision
Change-Id: I5ea4df33545f69c06e4ae2158a1a6c14ead784a7
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32304
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/external/U-Boot/Makefile | 6 |
1 files 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 |