build: Allow specifying uImage time
[openwrt/staging/ldir.git] / include / image-commands.mk
index 6c385b85e8cdc9f3215ec6742309f3686798dec6..ea602662a5b3c2e7627612089500c1fe28ee2201 100644 (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 \