summaryrefslogtreecommitdiffstats
path: root/payloads/external/Makefile.inc
diff options
context:
space:
mode:
authorBill XIE <persmule@hardenedlinux.org>2021-12-11 17:37:57 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-12-14 16:13:06 +0000
commitd85cee8310698d88a7e1072563be242045138917 (patch)
treec6b105bb4fb83783ba51b4402d97dd645ea17897 /payloads/external/Makefile.inc
parent2efb6142ca22a1b1372147c768e8f34dc5b4a299 (diff)
downloadcoreboot-d85cee8310698d88a7e1072563be242045138917.tar.gz
coreboot-d85cee8310698d88a7e1072563be242045138917.tar.bz2
coreboot-d85cee8310698d88a7e1072563be242045138917.zip
payloads/U-Boot: Fix various build errors
1. Fix the inconsistence of the target path of U-Boot payload between Kconfig and Makefile.inc. 2. Perform full clone (to the destined commit) in order to get tags. 3. Move stable commit id of U-Boot payload from Makefile to Kconfig, and make prompt consistent with it. Change-Id: Ic0f11c16274456a452a0422e19fab0c61d8b5d5b Signed-off-by: Bill XIE <persmule@hardenedlinux.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60028 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'payloads/external/Makefile.inc')
-rw-r--r--payloads/external/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/external/Makefile.inc b/payloads/external/Makefile.inc
index a185a7772744..072d8d120e7b 100644
--- a/payloads/external/Makefile.inc
+++ b/payloads/external/Makefile.inc
@@ -197,8 +197,9 @@ payloads/external/GRUB2/grub2/build/default_payload.elf: grub2
# U-Boot
-payloads/external/U-Boot/build/u-boot/u-boot.bin u-boot: $(DOTCONFIG)
+payloads/external/U-Boot/build/u-boot.bin u-boot: $(DOTCONFIG)
$(MAKE) -C payloads/external/U-Boot \
+ STABLE_COMMIT_ID=$(CONFIG_UBOOT_STABLE_COMMIT_ID) \
CONFIG_UBOOT_MASTER=$(CONFIG_UBOOT_MASTER) \
CONFIG_UBOOT_STABLE=$(CONFIG_UBOOT_STABLE)