From 5e426532210bb830d2d7426eb8d8c154d9dfcba6 Mon Sep 17 00:00:00 2001 From: Lukas Schwaighofer Date: Thu, 25 Oct 2018 06:38:12 -0400 Subject: [PATCH] core/Makefile: sort to be reproducible Signed-off-by: Lukas Schwaighofer --- 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)) -- 2.11.4.GIT