examples/module and examples/sotest can only be used in the FLAT build mode because they make illegal OS calls to ramdisk_register(), register_device(), and unregister_device().
This commit is contained in:
parent
c027c19dde
commit
e29db2721a
@ -6,11 +6,15 @@
|
||||
config EXAMPLES_MODULE
|
||||
bool "Module Example"
|
||||
default n
|
||||
depends on MODULE && LIB_BOARDCTL
|
||||
depends on MODULE && LIB_BOARDCTL && BUILD_FLAT
|
||||
select BOARDCTL_OS_SYMTAB
|
||||
---help---
|
||||
Enable the module example
|
||||
|
||||
NOTE: This example can only be used in the FLAT build mode because
|
||||
it makes illegal OS calls to ramdisk_register(), register_device(),
|
||||
and unregister_device().
|
||||
|
||||
if EXAMPLES_MODULE
|
||||
|
||||
config EXAMPLES_MODULE_LIBC
|
||||
|
@ -6,10 +6,13 @@
|
||||
config EXAMPLES_SOTEST
|
||||
bool "Shared Library Example"
|
||||
default n
|
||||
depends on LIBC_DLLFCN
|
||||
depends on LIBC_DLLFCN && BUILD_FLAT
|
||||
---help---
|
||||
Enable the shared library example
|
||||
|
||||
NOTE: This example can only be used in the FLAT build mode because
|
||||
it makes an illegal OS call to ramdisk_register().
|
||||
|
||||
if EXAMPLES_SOTEST
|
||||
|
||||
config EXAMPLES_SOTEST_LIBC
|
||||
|
Loading…
x
Reference in New Issue
Block a user