mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 22:57:47 +00:00
[posix-app] enhance build switches (#3404)
This commit is contained in:
committed by
Jonathan Hui
parent
99c753a6ad
commit
0fbb0e6310
@@ -32,6 +32,9 @@
|
||||
|
||||
COVERAGE ?= 0
|
||||
DEBUG ?= 0
|
||||
DISABLE_BUILTIN_MBEDTLS ?= 0
|
||||
DISABLE_EXECUTABLE ?= 0
|
||||
SNTP_CLIENT ?= 0
|
||||
|
||||
ECHO := @echo
|
||||
MAKE := make
|
||||
@@ -73,6 +76,18 @@ ifeq ($(COVERAGE),1)
|
||||
configure_OPTIONS += --enable-coverage
|
||||
endif
|
||||
|
||||
ifeq ($(DISABLE_BUILTIN_MBEDTLS), 1)
|
||||
configure_OPTIONS += --disable-builtin-mbedtls
|
||||
endif
|
||||
|
||||
ifeq ($(DISABLE_EXECUTABLE), 1)
|
||||
configure_OPTIONS += --enable-executable=no
|
||||
endif
|
||||
|
||||
ifeq (${SNTP_CLIENT}, 1)
|
||||
configure_OPTIONS += --enable-sntp-client
|
||||
endif
|
||||
|
||||
TopSourceDir := $(dir $(shell readlink $(firstword $(MAKEFILE_LIST))))../..
|
||||
AbsTopSourceDir := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))../..
|
||||
|
||||
|
||||
Reference in New Issue
Block a user