mirror of
https://github.com/espressif/openthread.git
synced 2026-08-25 03:39:52 +00:00
[posix-app] add HOST flag for cross compiling (#3991)
This commit add 'HOST' to provide the option for changing compile target host for OpenWRT.
This commit is contained in:
@@ -78,7 +78,7 @@ configure_OPTIONS = \
|
||||
|
||||
# Platform specific switches
|
||||
|
||||
ifeq (${DAEMON},1)
|
||||
ifeq ($(DAEMON),1)
|
||||
configure_OPTIONS += --enable-posix-app-daemon
|
||||
endif
|
||||
|
||||
@@ -88,6 +88,10 @@ COMMONCFLAGS += \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifneq ($(HOST),)
|
||||
configure_OPTIONS += --host=$(HOST)
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM_NETIF),1)
|
||||
configure_OPTIONS += --enable-platform-netif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user