openwrt/include
John Beckett 36e0268aa6 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-07 10:55:59 -10:00
..
site
autotools.mk
cmake.mk cmake.mk,rules.mk: fix host builds using CMake and ccache 2020-11-28 16:17:58 +01:00
debug.mk
depends.mk build: find_md5 list with mod time and sorted 2020-12-07 10:55:59 -10:00
device_table.txt
download.mk build: prevent excessive re-evaluation of PKG_VERSION 2020-10-16 21:39:10 +02:00
feeds.mk build: FeedSourcesAppend add kmod feed to snapshot 2020-10-30 00:39:09 +00:00
hardened-ld-pie.specs
hardening.mk
host-build.mk download: handle possibly invalid local tarballs 2020-11-27 14:46:13 +01:00
image-commands.mk build: add UIMAGE_MAGIC to device variables 2020-11-25 15:55:26 +01:00
image.mk build: add UIMAGE_MAGIC to device variables 2020-11-25 15:55:26 +01:00
kernel-build.mk build: create $(PKG_SYMVERS_DIR) if non-existent 2020-11-19 18:52:15 +01:00
kernel-defaults.mk build: make testing kernel decompression more portable 2020-12-05 12:06:30 +01:00
kernel-version.mk kernel: bump 5.4 to 5.4.81 2020-12-04 16:34:39 +01:00
kernel.mk build: create $(PKG_SYMVERS_DIR) if non-existent 2020-11-19 18:52:15 +01:00
logo.png README: mv logo.svg include/logo.{png,svg} 2020-12-01 10:18:07 -10:00
logo.svg README: mv logo.svg include/logo.{png,svg} 2020-12-01 10:18:07 -10:00
netfilter.mk netfilter: Add queue support for nftables 2020-11-12 18:19:44 +01:00
nls.mk
package-bin.mk
package-defaults.mk build: allow file modes per binary package 2020-09-09 14:13:59 +01:00
package-dumpinfo.mk
package-ipkg.mk build: use mkhash for IPK metadata checksums 2020-11-26 19:06:13 -10:00
package-seccomp.mk
package.mk download: handle possibly invalid local tarballs 2020-11-27 14:46:13 +01:00
prereq-build.mk build: require rsync 2020-12-07 18:23:13 +02:00
prereq.mk
quilt.mk
rootfs.mk build: reduce cleanup binary calls in rootfs.mk 2020-12-05 22:07:00 -10:00
scan.awk
scan.mk
shell.sh
subdir.mk include/subdir: on build failure always print error 2020-11-27 18:02:40 -10:00
target.mk build: filter out more autogenerated kernel config options 2020-11-13 13:18:20 +01:00
toolchain-build.mk
toplevel.mk build: detect broken make version on macOS 2020-11-14 14:48:30 +01:00
trusted-firmware-a.mk build: Extract trusted-firmware-a.mk 2020-12-02 23:46:01 +01:00
u-boot.mk
uclibc++.mk libcxx[abi]: remove 2020-12-07 10:46:43 -10:00
unpack.mk
verbose.mk
version.mk build: switch VERSION_REPO to HTTPS 2020-08-31 11:26:10 +01:00