mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 08:40:20 +00:00
symtab/Makefile: The OS symbol table should not be generated in the PROTECTED and KERNEL build modes. In those modes, the applications should link with libproxy which will provide symbol-compatible access to OS functions via a call gate.
This commit is contained in:
parent
380198c985
commit
1da2f6b685
1 changed files with 16 additions and 3 deletions
|
|
@ -36,9 +36,22 @@
|
|||
-include $(TOPDIR)/Make.defs
|
||||
|
||||
MKSYMTAB = $(TOPDIR)$(DELIM)tools$(DELIM)mksymtab$(HOSTEXEEXT)
|
||||
CSVFILES = $(TOPDIR)$(DELIM)syscall$(DELIM)syscall.csv \
|
||||
$(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)libc.csv \
|
||||
$(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)math.csv
|
||||
|
||||
# C library and math library symbols should be available in the FLAT
|
||||
# and PROTECTED builds. KERNEL builds are separately linked and so should
|
||||
# not need symbol tables.
|
||||
|
||||
CSVFILES = $(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)libc.csv
|
||||
CSVFILES += $(TOPDIR)$(DELIM)libs$(DELIM)libc$(DELIM)math.csv
|
||||
|
||||
# In the PROTECTED and KERNEL builds, the syscall symbol table is not
|
||||
# necessary. In those build modes, the applications should link with
|
||||
# libproxy which will provide symbol-compatible access to OS functions
|
||||
# via a call gate.
|
||||
|
||||
ifeq ($(CONFIG_BUILD_FLAT),y)
|
||||
CSVFILES += $(TOPDIR)$(DELIM)syscall$(DELIM)syscall.csv
|
||||
endif
|
||||
|
||||
DEPPATH = --dep-path .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue