From 040cdd0c658a49694b17a1c0b5439d0bd7805242 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 27 Feb 2021 18:52:11 +0000 Subject: [linux] Add a prefix to all symbols to avoid future name collisions Allow for the possibility of linking to platform libraries for the Linux userspace build by adding an iPXE-specific symbol prefix. Signed-off-by: Michael Brown --- src/arch/x86/Makefile.linux | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch') diff --git a/src/arch/x86/Makefile.linux b/src/arch/x86/Makefile.linux index 1faf84753..3740cc81a 100644 --- a/src/arch/x86/Makefile.linux +++ b/src/arch/x86/Makefile.linux @@ -3,6 +3,8 @@ MEDIA = linux # enable valgrind CFLAGS += -UNVALGRIND +SYMBOL_PREFIX = _ipxe__ + INCDIRS += arch/x86/include/linux SRCDIRS += interface/linux SRCDIRS += drivers/linux -- cgit v1.2.3-55-g7522