diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-02-27 18:52:11 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-02-27 19:25:02 +0000 |
commit | 040cdd0c658a49694b17a1c0b5439d0bd7805242 (patch) | |
tree | ffbc77fab80b81a804d28fd7a36fe114c06746f0 /src/arch | |
parent | 16d95227a4b92bba068b43070545b96ce0a90e14 (diff) | |
download | ipxe-040cdd0c658a49694b17a1c0b5439d0bd7805242.tar.gz |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/Makefile.linux | 2 |
1 files changed, 2 insertions, 0 deletions
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 |