mirror of
https://github.com/espressif/openthread.git
synced 2026-09-04 16:20:05 +00:00
[travis] check vendor ncp hook example build under posix (#4405)
This commit is contained in:
committed by
Jonathan Hui
parent
71dc756286
commit
ef7a230c31
@@ -490,6 +490,22 @@ build_samr21() {
|
||||
--enable-radio-only \
|
||||
--with-examples=posix || die
|
||||
make -j 8 || die
|
||||
|
||||
export CPPFLAGS=" \
|
||||
-DOPENTHREAD_CONFIG_NCP_UART_ENABLE=1"
|
||||
|
||||
git checkout -- . || die
|
||||
git clean -xfd || die
|
||||
./bootstrap || die
|
||||
./configure \
|
||||
--enable-ncp \
|
||||
--enable-ftd \
|
||||
--enable-mtd \
|
||||
--with-examples=posix \
|
||||
--disable-docs \
|
||||
--disable-tests \
|
||||
--with-ncp-vendor-hook-source=./src/ncp/example_vendor_hook.cpp || die
|
||||
make -j 8 || die
|
||||
}
|
||||
|
||||
[ $BUILD_TARGET != posix-distcheck ] || {
|
||||
|
||||
Reference in New Issue
Block a user