[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>
This commit is contained in:
Michael Brown
2021-02-27 18:52:11 +00:00
parent 16d95227a4
commit 040cdd0c65
3 changed files with 8 additions and 2 deletions

View File

@@ -3,6 +3,8 @@ MEDIA = linux
# enable valgrind
CFLAGS += -UNVALGRIND
SYMBOL_PREFIX = _ipxe__
INCDIRS += arch/x86/include/linux
SRCDIRS += interface/linux
SRCDIRS += drivers/linux