Displaying 2 results from an estimated 2 matches for "filter_objs".
2014 Feb 24
3
[RFC, PATCH] core/pxe: Add architecture-specific discovery request for PXE config file
...| 5 +++++
core/fs/pxe/pxe.h | 12 ++++++++++++
doc/pxelinux.txt | 21 +++++++++++++++++----
4 files changed, 35 insertions(+), 4 deletions(-)
diff --git a/core/Makefile b/core/Makefile
index a7503ef..233a374 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -82,6 +82,7 @@ ifdef EFI_BUILD
FILTER_OBJS += $(subst $(SRC)/,, \
$(patsubst %.c,%.o, $(wildcard $(SRC)/thread/*.c)) \
$(patsubst %.S,%.o, $(wildcard $(SRC)/thread/*.S)))
+CFLAGS += -D__EFI__
endif
COBJS = $(filter-out $(FILTER_OBJS),$(COBJ))
diff --git a/core/fs/pxe/pxe.c b/core/fs/pxe/pxe.c
index 4de4dbf..5cc9082 100644
--- a/cor...
2014 Dec 17
0
[PATCH] build: sort sources to build in a more deterministic way
...SRC = $(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 @@ FILTER_OBJS = %rawcon.o %plaincon.o %pxelinux-c.o %ldlinux-c.o \
ifdef EFI_BUILD
# EFI is single-threaded, and doesn't use the LZO assembly decoder
FILTER_OBJS += $(subst $(SRC)/,, \
- $(patsubst %.S,%.o, $(wildcard $(SRC)/lzo/*.S)) \
- $(patsubst %.c,%.o, $(wildcard $(SRC)/thread/*.c)) \
- $(patsubst %...