From f23ccd5bb06c3b40ac5ce14b24fbab8b87795bee Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 1 Oct 2019 07:19:21 -0600 Subject: [PATCH] libs/libc/ Kconfig files: Disable EXECFUNCS_HAVE_SYMTAB for kernel build. The symbol table don't have any meaning for kernel build since all executable binary should be self contained. --- libs/libc/modlib/Kconfig | 2 +- libs/libc/unistd/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/libc/modlib/Kconfig b/libs/libc/modlib/Kconfig index 28b11e7f51..c03fdbb052 100644 --- a/libs/libc/modlib/Kconfig +++ b/libs/libc/modlib/Kconfig @@ -59,7 +59,7 @@ config MODLIB_DUMPBUFFER config MODLIB_HAVE_SYMTAB bool "Have symbol table" - default n if BUILD_KERNEL + default n ---help--- If you have a module library symbol table, then you may select this option in order to use it. Symbol tables are required in most diff --git a/libs/libc/unistd/Kconfig b/libs/libc/unistd/Kconfig index d77d383566..e1f24181cd 100644 --- a/libs/libc/unistd/Kconfig +++ b/libs/libc/unistd/Kconfig @@ -35,8 +35,8 @@ if LIBC_EXECFUNCS config EXECFUNCS_HAVE_SYMTAB bool "Have symbol table" - default n if !BUILD_KERNEL - default y if BUILD_KERNEL + default n + depends on !BUILD_KERNEL ---help--- If you have a system symbol table, then you may select this option in order to use it. Symbol tables are required in most