Displaying 1 result from an estimated 1 matches for "unittest_csrc".
2014 Dec 17
0
[PATCH] build: sort sources to build in a more deterministic way
...tcp.c)
 
 PXELINUX_CSRC = $(CORE_PXE_CSRC) \
-	$(shell find $(SRC)/legacynet -name '*.c' -print)
+	$(shell find $(SRC)/legacynet -name '*.c' -print | sort)
 
 LPXELINUX_OBJS = $(subst $(SRC)/,,$(LPXELINUX_CSRC:%.c=%.o))
 PXELINUX_OBJS  = $(subst $(SRC)/,,$(PXELINUX_CSRC:%.c=%.o))
 
-UNITTEST_CSRC = $(shell find $(SRC) -path '*/tests/*.c' -print)
+UNITTEST_CSRC = $(shell find $(SRC) -path '*/tests/*.c' -print | sort)
 UNITTEST_OBJS = $(subst $(SRC)/,,$(UNITTEST_CSRC:%.c=%.o))
 
 # Don't include console and network stack specific objects or unit tests
@@ -80,9 +80,9 @@ FIL...