Make the allocators used by malloc and linux_umalloc valgrindable. Include valgrind headers in the codebase to avoid a build dependency on valgrind. Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
16 lines
318 B
Makefile
16 lines
318 B
Makefile
# Include common x86 headers
|
|
#
|
|
INCDIRS += arch/x86/include
|
|
|
|
# x86-specific directories containing source files
|
|
#
|
|
SRCDIRS += arch/x86/core
|
|
SRCDIRS += arch/x86/interface/efi
|
|
SRCDIRS += arch/x86/prefix
|
|
|
|
# breaks building some of the linux-related objects
|
|
CFLAGS += -Ulinux
|
|
|
|
# disable valgrind
|
|
CFLAGS += -DNVALGRIND
|