build: Allow specifying uImage time

Some U-Boot checks for a specified uImage time and refuses to boot if
mismatched. This patch fixes it by recognizing UIMAGE_TIME parameter.

Signed-off-by: David Yang <mmyangfl@gmail.com>
This commit is contained in:
David Yang
2023-02-08 09:59:27 +08:00
committed by Christian Marangi
parent aa28e91404
commit a8a2a95351
2 changed files with 3 additions and 1 deletions

View File

@@ -581,6 +581,7 @@ define Build/tplink-v2-image
endef
define Build/uImage
$(if $(UIMAGE_TIME),SOURCE_DATE_EPOCH="$(UIMAGE_TIME)") \
mkimage \
-A $(LINUX_KARCH) \
-O linux \