immortalwrt/include
John Beckett 264f85cc4c build: find_md5 list with mod time and sorted
It was observed that the MD5 would not change after source files had been
modified, looking deeper into the build process it was discovered that
find_md5 build function makes a list of the files being built and then
passes the list to a summing utility on stdin.  The resultant MD5 is of
the file list, not the contents of the files.

The MD5 would change if the ordering of the list changed, or items were
removed or deleted.

The proposed fix is to add the modification time after the filename and
then sort the list to prevent find returning files in a different order
falsely re-triggering a rebuild. The MD5 will now change when a file is
modified or files are added/removed from the list.

Using 'T@' to show time in epoch for timezone independent behaviour.

Signed-off-by: John Beckett <john.beckett@net2edge.com>
2020-12-08 11:39:50 +08:00
..
site fix permisson 2019-08-16 15:09:42 +08:00
autotools.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
cmake.mk cmake.mk,rules.mk: fix host builds using CMake and ccache 2020-11-29 00:06:10 +08:00
debug.mk Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00
depends.mk build: find_md5 list with mod time and sorted 2020-12-08 11:39:50 +08:00
device_table.txt fix permission 2019-09-30 13:52:50 +08:00
download.mk build: prevent excessive re-evaluation of PKG_VERSION 2020-10-17 11:51:24 +08:00
feeds.mk build: FeedSourcesAppend add kmod feed to snapshot 2020-10-31 10:23:48 +08:00
hardened-ld-pie.specs fix permission 2019-09-30 13:52:50 +08:00
hardening.mk Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00
host-build.mk download: handle possibly invalid local tarballs 2020-11-28 19:08:14 +08:00
image-commands.mk scripts: mkits.sh make it possible to specify fdt@# 2020-09-26 11:33:12 +08:00
image-legacy.mk fix permisson 2019-08-16 15:09:42 +08:00
image.mk build: store SOURCE_DATE_EPOCH in JSON info files 2020-11-14 23:34:48 +08:00
kernel-build.mk build: filter out more autogenerated kernel config options 2020-11-14 13:52:03 +08:00
kernel-defaults.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
kernel-version.mk kernel: bump to kernel 4.9.247, 4.14.210, 4.19.161 2020-12-06 00:24:09 +08:00
kernel.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
netfilter.mk kernel/iptables: add modules for qos-gargoyle 2020-02-25 23:03:16 +08:00
nls.mk fix permisson 2019-08-16 15:09:42 +08:00
package-bin.mk fix permisson 2019-08-16 15:09:42 +08:00
package-defaults.mk build: allow file modes per binary package 2020-09-10 17:18:58 +08:00
package-dumpinfo.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
package-ipkg.mk build: use mkhash for IPK metadata checksums 2020-11-28 19:07:01 +08:00
package-seccomp.mk fix permisson 2019-08-16 15:09:42 +08:00
package.mk download: handle possibly invalid local tarballs 2020-11-28 19:08:14 +08:00
prereq-build.mk build: require rsync 2020-12-08 11:39:28 +08:00
prereq.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
quilt.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
rootfs.mk build: reduce cleanup binary calls in rootfs.mk 2020-12-08 11:31:45 +08:00
scan.awk fix permisson 2019-08-16 15:09:42 +08:00
scan.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
shell.sh add luci-app-haproxy & luci-app-udpspeederv2 2019-05-25 21:05:51 +08:00
subdir.mk include/subdir: on build failure always print error 2020-11-28 19:14:22 +08:00
target.mk build: filter out more autogenerated kernel config options 2020-11-14 13:52:03 +08:00
toolchain-build.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
toplevel.mk build: detect broken make version on macOS 2020-11-21 17:41:47 +08:00
u-boot.mk u-boot.mk: switch download to https 2020-04-27 08:55:20 +08:00
uclibc++.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
unpack.mk build: add zstd support to pack/unpack functions 2020-05-31 19:37:36 +08:00
verbose.mk fix permisson 2019-08-16 15:09:42 +08:00
version.mk build: switch VERSION_REPO to HTTPS 2020-09-01 17:33:44 +08:00