aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/x86/Makefile.linux
diff options
context:
space:
mode:
authorPiotr Jaroszyński <p.jaroszynski@gmail.com>2010-07-01 03:47:52 +0200
committerMichael Brown <mcb30@ipxe.org>2011-03-27 21:03:05 +0100
commitb604e8a388702df3cd4d3d64cf42dfc361b235c0 (patch)
treed3e581fc9462b3658fb1a2d354794108e85a3086 /src/arch/x86/Makefile.linux
parent3c1bdfd5d905eb5e916d588d59494d53ea968eb0 (diff)
downloadipxe-b604e8a388702df3cd4d3d64cf42dfc361b235c0.tar.gz
[linux] Make malloc and linux_umalloc valgrindable
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>
Diffstat (limited to 'src/arch/x86/Makefile.linux')
-rw-r--r--src/arch/x86/Makefile.linux3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/Makefile.linux b/src/arch/x86/Makefile.linux
index fd56b4b69..e35b04f0e 100644
--- a/src/arch/x86/Makefile.linux
+++ b/src/arch/x86/Makefile.linux
@@ -1,5 +1,8 @@
MEDIA = linux
+# enable valgrind
+CFLAGS += -UNVALGRIND
+
INCDIRS += arch/x86/include/linux
SRCDIRS += interface/linux
SRCDIRS += drivers/linux