mirror of
https://github.com/espressif/openthread.git
synced 2026-08-25 03:39:52 +00:00
[build] add flag for big endian (#3996)
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
# OpenThread Features (Makefile default configuration).
|
||||
|
||||
BIG_ENDIAN ?= 0
|
||||
BORDER_AGENT ?= 0
|
||||
BORDER_ROUTER ?= 0
|
||||
COAP ?= 0
|
||||
@@ -61,6 +62,10 @@ TIME_SYNC ?= 0
|
||||
UDP_FORWARD ?= 0
|
||||
|
||||
|
||||
ifeq ($(BIG_ENDIAN),1)
|
||||
COMMONCFLAGS += -DBYTE_ORDER_BIG_ENDIAN=1
|
||||
endif
|
||||
|
||||
ifeq ($(BORDER_AGENT),1)
|
||||
configure_OPTIONS += --enable-border-agent
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user