mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 11:17:46 +00:00
[android] build spi-hdlc-adapter in OpenThread (#3342)
This commit is contained in:
@@ -99,9 +99,11 @@ main() {
|
||||
make showcommands ot-core
|
||||
make showcommands ot-cli
|
||||
make showcommands ot-ncp
|
||||
make showcommands spi-hdlc-adapter
|
||||
|
||||
test -x out/target/product/generic/system/bin/ot-cli
|
||||
test -x out/target/product/generic/system/bin/ot-ncp
|
||||
test -x out/target/product/generic/system/bin/spi-hdlc-adapter
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
@@ -44,6 +44,14 @@ OPENTHREAD_COMMON_FLAGS := \
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := spi-hdlc-adapter
|
||||
LOCAL_MODULE_TAGS := eng
|
||||
LOCAL_SRC_FILES := tools/spi-hdlc-adapter/spi-hdlc-adapter.c
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := ot-core
|
||||
LOCAL_MODULE_TAGS := eng
|
||||
|
||||
|
||||
Reference in New Issue
Block a user