Introduce 'USE_COMPILER_DEFAULT_LIBC' for switching from jerry-libc to a libc, provided by compiler.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
committed by
Evgeny Gavrin
parent
6d86c4b2e1
commit
393d693e23
@@ -69,8 +69,16 @@
|
||||
endif
|
||||
|
||||
# External build configuration
|
||||
# Flag, indicating whether to use compiler's default libc (YES / NO)
|
||||
USE_COMPILER_DEFAULT_LIBC ?= NO
|
||||
# List of include paths for external libraries (semicolon-separated)
|
||||
EXTERNAL_LIBS_INTERFACE ?=
|
||||
# External libc interface
|
||||
ifeq ($(USE_COMPILER_DEFAULT_LIBC),YES)
|
||||
ifneq ($(EXTERNAL_LIBC_INTERFACE),)
|
||||
$(error EXTERNAL_LIBC_INTERFACE should not be specified in case compiler's default libc is used)
|
||||
endif
|
||||
endif
|
||||
# Compiler to use for external build
|
||||
EXTERNAL_C_COMPILER ?= arm-none-eabi-gcc
|
||||
EXTERNAL_CXX_COMPILER ?= arm-none-eabi-g++
|
||||
|
||||
Reference in New Issue
Block a user