
Did you see my v2 patch [1] for u-boot?
It also builds now u-boot images created with mkimage reproducible ...
If I interpret your patch from above correct, you add with SOURCE_DATE_EPOCH a specific fix timestamp?
I think, this could be included to my approach too ...
If SOURCE_DATE_EPOCH is defined, use it, fi not defined define U_BOOT_DATE, U_BOOT_TIME and U_BOOT_TZ with my default settings from [1] ...
All only if CONFIG_SYS_EXACT_BINARY is set in the u-boot config of course ...
What do you think?
I think adding a config option adds all sorts of unnecessary complications. SOURCE_DATE_EPOCH is sufficient for what we want.
Thanks a lot for your work, it has been a great base for the patch I just sent: http://patchwork.ozlabs.org/patch/497577/
Feel free to add your signed-off-by line since it's inspired by your patch.