summaryrefslogtreecommitdiff
path: root/apps/examples/elf/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/elf/Kconfig')
-rw-r--r--apps/examples/elf/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/examples/elf/Kconfig b/apps/examples/elf/Kconfig
index 87b74dd80..be967324a 100644
--- a/apps/examples/elf/Kconfig
+++ b/apps/examples/elf/Kconfig
@@ -14,7 +14,7 @@ if EXAMPLES_ELF
config EXAMPLES_ELF_SYSCALL
bool "Link with SYSCALL library"
default n
- depends on LIB_SYSCALL
+ depends on LIB_SYSCALL && !BUILD_KERNEL
---help---
Link with the SYCALL library. By default, all undefined symbols
must be provided via a symbol table. But if this option is
@@ -26,6 +26,7 @@ config EXAMPLES_ELF_SYSCALL
config EXAMPLES_ELF_LIBC
bool "Link with LIBC"
default n
+ depends on !BUILD_KERNEL
---help---
Link with the C library (and also math library if it was built).
By default, all undefined symbols must be provided via a symbol