build: sort sources to build in a more deterministic way
commitbe645d7a9848847388a662f6c0f7571d52ed7a05
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 17 Dec 2014 21:46:29 +0000 (17 16:46 -0500)
committerGene Cumm <gene.cumm@gmail.com>
Tue, 6 Jan 2015 01:43:13 +0000 (5 20:43 -0500)
tree8074428b499d413984e372b8d2a0841a4662b4cf
parent5932f124bce94b662b0b7dc9b79cdc4802d4731c
build: sort sources to build in a more deterministic way

It has been observed that binaries contents
are depending on the order of linked objects.

This order is caused by GNU make's wildcard function
and the position of sources on filesystem.

This change tries to prevent this kind of randomness.

Also consider building using -j1 flag
to make it even more reproductible.

Change-Id: Ie8eee7f336e6f1fa2863c4150d967afd15519f1d
Bug: http://bugzilla.syslinux.org/show_bug.cgi?id=57#related
Signed-off-by: Philippe Coval <philippe.coval at open.eurogiciel.org>
15 files changed:
codepage/Makefile
com32/cmenu/Makefile
com32/gpllib/Makefile
com32/hdt/Makefile
com32/libupload/Makefile
com32/rosh/Makefile
com32/sysdump/Makefile
core/Makefile
dos/Makefile
gpxe/src/Makefile.housekeeping
lzo/Makefile
memdisk/Makefile
mtools/Makefile
win32/Makefile
win64/Makefile