aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Schwaighofer <lukas@schwaighofer.name>2018-10-25 06:38:12 -0400
committerGene Cumm <gene.cumm@gmail.com>2018-10-25 06:38:38 -0400
commit5e426532210bb830d2d7426eb8d8c154d9dfcba6 (patch)
tree653f5fcc6d3f62a4bf2d9f91801df16d4e082b54 /core
parentac39cffd82d9f3ea4f243657c63db071ba8ef7b0 (diff)
downloadsyslinux-5e426532210bb830d2d7426eb8d8c154d9dfcba6.tar.gz
syslinux-5e426532210bb830d2d7426eb8d8c154d9dfcba6.tar.xz
syslinux-5e426532210bb830d2d7426eb8d8c154d9dfcba6.zip
core/Makefile: sort to be reproducible
Signed-off-by: Lukas Schwaighofer <lukas@schwaighofer.name>
Diffstat (limited to 'core')
-rw-r--r--core/Makefile10
1 files 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))