Copy more logic from nuttx/tools/Config.mk into the Make.defs file. Plus trivial related changes
This commit is contained in:
parent
e8ab24001d
commit
c38a108343
8
Makefile
8
Makefile
@ -35,17 +35,17 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
-include $(TOPDIR)/Make.defs
|
|
||||||
|
|
||||||
APPDIR = ${shell pwd}
|
APPDIR = ${shell pwd}
|
||||||
|
TOPDIR ?= $(APPDIR)/import
|
||||||
|
|
||||||
|
-include $(TOPDIR)/Make.defs
|
||||||
|
|
||||||
# Application Directories
|
# Application Directories
|
||||||
|
|
||||||
# CONFIGURED_APPS is the list of all configured built-in directories/built
|
# CONFIGURED_APPS is the list of all configured built-in directories/built
|
||||||
# action.
|
# action.
|
||||||
# SUBDIRS is the list of all directories containing Makefiles. It is used
|
# SUBDIRS is the list of all directories containing Makefiles. It is used
|
||||||
# only for cleaning. builtin must always be the first in the list. This
|
# only for cleaning. builtin must always be the first in the list.
|
||||||
# list can be extended by the .config file as well.
|
|
||||||
|
|
||||||
CONFIGURED_APPS =
|
CONFIGURED_APPS =
|
||||||
SUBDIRS = examples graphics interpreters modbus builtin import nshlib
|
SUBDIRS = examples graphics interpreters modbus builtin import nshlib
|
||||||
|
@ -14,7 +14,7 @@ if EXAMPLES_ELF
|
|||||||
config EXAMPLES_ELF_SYSCALL
|
config EXAMPLES_ELF_SYSCALL
|
||||||
bool "Link with SYSCALL library"
|
bool "Link with SYSCALL library"
|
||||||
default n
|
default n
|
||||||
depends on LIB_SYSCALL
|
depends on LIB_SYSCALL && !BUILD_KERNEL
|
||||||
---help---
|
---help---
|
||||||
Link with the SYCALL library. By default, all undefined symbols
|
Link with the SYCALL library. By default, all undefined symbols
|
||||||
must be provided via a symbol table. But if this option is
|
must be provided via a symbol table. But if this option is
|
||||||
@ -26,6 +26,7 @@ config EXAMPLES_ELF_SYSCALL
|
|||||||
config EXAMPLES_ELF_LIBC
|
config EXAMPLES_ELF_LIBC
|
||||||
bool "Link with LIBC"
|
bool "Link with LIBC"
|
||||||
default n
|
default n
|
||||||
|
depends on !BUILD_KERNEL
|
||||||
---help---
|
---help---
|
||||||
Link with the C library (and also math library if it was built).
|
Link with the C library (and also math library if it was built).
|
||||||
By default, all undefined symbols must be provided via a symbol
|
By default, all undefined symbols must be provided via a symbol
|
||||||
|
Loading…
Reference in New Issue
Block a user