diff options
-rw-r--r-- | target/linux/ramips/image/mt7620.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 2f3f59e4c6..796cc619a3 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -10,7 +10,9 @@ define Build/elecom-header mkhash md5 $(KDIR)/v_0.0.0.bin && \ echo 458 \ ) | mkhash md5 > $(KDIR)/v_0.0.0.md5 - $(STAGING_DIR_HOST)/bin/tar -cf $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5 + $(STAGING_DIR_HOST)/bin/tar -c \ + $(if $(SOURCE_DATE_EPOCH),--mtime=@$(SOURCE_DATE_EPOCH)) \ + -f $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5 endef define Build/zyimage |