diff options
| author | Michael Brown | 2021-02-27 19:52:11 +0100 |
|---|---|---|
| committer | Michael Brown | 2021-02-27 20:25:02 +0100 |
| commit | 040cdd0c658a49694b17a1c0b5439d0bd7805242 (patch) | |
| tree | ffbc77fab80b81a804d28fd7a36fe114c06746f0 /src/arch | |
| parent | [bitops] Provide an explicit operand size for bit test instructions (diff) | |
| download | ipxe-040cdd0c658a49694b17a1c0b5439d0bd7805242.tar.gz ipxe-040cdd0c658a49694b17a1c0b5439d0bd7805242.tar.xz ipxe-040cdd0c658a49694b17a1c0b5439d0bd7805242.zip | |
[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 |
