[syslinux:master] core/Makefile: sort to be reproducible

syslinux-bot for Lukas Schwaighofer lukas at schwaighofer.name
Fri Oct 26 03:27:05 PDT 2018


Commit-ID:  5e426532210bb830d2d7426eb8d8c154d9dfcba6
Gitweb:     http://www.syslinux.org/commit/5e426532210bb830d2d7426eb8d8c154d9dfcba6
Author:     Lukas Schwaighofer <lukas at schwaighofer.name>
AuthorDate: Thu, 25 Oct 2018 06:38:12 -0400
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Thu, 25 Oct 2018 06:38:38 -0400

core/Makefile: sort to be reproducible

Signed-off-by: Lukas Schwaighofer <lukas at schwaighofer.name>

---
 core/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/Makefile b/core/Makefile
index 46cb037c..50ff35af 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -41,9 +41,9 @@ BTARGET  = kwdhash.gen \
 # All primary source files for the main syslinux files
 NASMSRC	 := $(sort $(wildcard $(SRC)/*.asm))
 NASMHDR  := $(sort $(wildcard $(SRC)/*.inc))
-CSRC	 := $(shell find $(SRC) -name '*.c' -print)
-SSRC	 := $(shell find $(SRC) -name '*.S' -print)
-CHDR	 := $(shell find $(SRC) -name '*.h' -print)
+CSRC	 := $(sort $(shell find $(SRC) -name '*.c' -print))
+SSRC	 := $(sort $(shell find $(SRC) -name '*.S' -print))
+CHDR	 := $(sort $(shell find $(SRC) -name '*.h' -print))
 OTHERSRC := keywords
 ALLSRC    = $(NASMSRC) $(NASMHDR) $(CSRC) $(SSRC) $(CHDR) $(OTHERSRC)
 
@@ -56,13 +56,13 @@ CORE_PXE_CSRC = \
 	$(addprefix $(SRC)/fs/pxe/, dhcp_option.c pxe.c tftp.c urlparse.c bios.c)
 
 LPXELINUX_CSRC = $(CORE_PXE_CSRC) \
-	$(shell find $(SRC)/lwip -name '*.c' -print) \
+	$(sort $(shell find $(SRC)/lwip -name '*.c' -print)) \
 	$(addprefix $(SRC)/fs/pxe/, \
 		core.c dnsresolv.c ftp.c ftp_readdir.c gpxeurl.c http.c \
 		http_readdir.c idle.c isr.c tcp.c)
 
 PXELINUX_CSRC = $(CORE_PXE_CSRC) \
-	$(shell find $(SRC)/legacynet -name '*.c' -print)
+	$(sort $(shell find $(SRC)/legacynet -name '*.c' -print))
 
 LPXELINUX_OBJS = $(subst $(SRC)/,,$(LPXELINUX_CSRC:%.c=%.o))
 PXELINUX_OBJS  = $(subst $(SRC)/,,$(PXELINUX_CSRC:%.c=%.o))


More information about the Syslinux-commits mailing list