payloads/external/U-Boot/Makefile: Remove conditional
Apparently no one ever build this using UBOOT_MASTER, because it is missing the "cd $(project_dir)" before git fetch. I have also no idea what the git show was originally supposed to do. So just remove them both and move on. Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: I2f26660131ce91420a951fb33ac0eef89371745d Reviewed-on: https://review.coreboot.org/c/coreboot/+/89615 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
This commit is contained in:
parent
c3b5c8723e
commit
3d41ac370d
1 changed files with 1 additions and 10 deletions
11
payloads/external/U-Boot/Makefile
vendored
11
payloads/external/U-Boot/Makefile
vendored
|
|
@ -26,17 +26,8 @@ $(project_dir):
|
|||
git clone $(project_git_repo) -b $(TAG-y) $(project_dir)
|
||||
|
||||
fetch: $(project_dir)
|
||||
ifeq ($(CONFIG_UBOOT_MASTER),y)
|
||||
echo " Fetching new commits from the $(project_name) git repo"
|
||||
git fetch
|
||||
|
||||
#master doesn't get a file, so it's continuously updated
|
||||
rm -f $(STABLE_COMMIT_ID)
|
||||
else
|
||||
cd $(project_dir); git show $(TAG-y) >/dev/null 2>&1 ; if [ $$? -ne 0 ]; \
|
||||
then echo " Fetching new commits from the $(project_name) git repo"; git fetch; fi
|
||||
touch $(STABLE_COMMIT_ID)
|
||||
endif
|
||||
cd $(project_dir) && git fetch
|
||||
|
||||
checkout: fetch
|
||||
echo " Checking out $(project_name) revision $(TAG-y)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue