mirror of
https://github.com/espressif/openthread.git
synced 2026-11-07 06:53:11 +00:00
[cc26xx] remove -pedantic-errors from cc26xx driverlib build (#2366)
This commit is contained in:
+14
-14
@@ -243,21 +243,21 @@ set -x
|
||||
arm-none-eabi-size output/nrf52840/bin/ot-ncp-ftd || die
|
||||
arm-none-eabi-size output/nrf52840/bin/ot-ncp-mtd || die
|
||||
|
||||
# git checkout -- . || die
|
||||
# git clean -xfd || die
|
||||
# ./bootstrap || die
|
||||
# make -f examples/Makefile-cc2650 || die
|
||||
# arm-none-eabi-size output/cc2650/bin/ot-cli-mtd || die
|
||||
# arm-none-eabi-size output/cc2650/bin/ot-ncp-mtd || die
|
||||
git checkout -- . || die
|
||||
git clean -xfd || die
|
||||
./bootstrap || die
|
||||
make -f examples/Makefile-cc2650 || die
|
||||
arm-none-eabi-size output/cc2650/bin/ot-cli-mtd || die
|
||||
arm-none-eabi-size output/cc2650/bin/ot-ncp-mtd || die
|
||||
|
||||
# git checkout -- . || die
|
||||
# git clean -xfd || die
|
||||
# ./bootstrap || die
|
||||
# COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHCP6_SERVER=1 DNS_CLIENT=1 make -f examples/Makefile-cc2652 || die
|
||||
# arm-none-eabi-size output/cc2652/bin/ot-cli-ftd || die
|
||||
# arm-none-eabi-size output/cc2652/bin/ot-cli-mtd || die
|
||||
# arm-none-eabi-size output/cc2652/bin/ot-ncp-ftd || die
|
||||
# arm-none-eabi-size output/cc2652/bin/ot-ncp-mtd || die
|
||||
git checkout -- . || die
|
||||
git clean -xfd || die
|
||||
./bootstrap || die
|
||||
COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHCP6_SERVER=1 DNS_CLIENT=1 make -f examples/Makefile-cc2652 || die
|
||||
arm-none-eabi-size output/cc2652/bin/ot-cli-ftd || die
|
||||
arm-none-eabi-size output/cc2652/bin/ot-cli-mtd || die
|
||||
arm-none-eabi-size output/cc2652/bin/ot-ncp-ftd || die
|
||||
arm-none-eabi-size output/cc2652/bin/ot-ncp-mtd || die
|
||||
|
||||
git checkout -- . || die
|
||||
git clean -xfd || die
|
||||
|
||||
@@ -30,6 +30,11 @@ include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
|
||||
|
||||
lib_LIBRARIES = libopenthread-cc2650.a
|
||||
|
||||
# Do not enable -pedantic-errors for cc26xx driverlib
|
||||
override CFLAGS := $(filter-out -pedantic-errors,$(CFLAGS))
|
||||
override CXXFLAGS := $(filter-out -pedantic-errors,$(CXXFLAGS))
|
||||
|
||||
|
||||
libopenthread_cc2650_a_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src \
|
||||
|
||||
@@ -30,6 +30,10 @@ include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
|
||||
|
||||
lib_LIBRARIES = libopenthread-cc2652.a
|
||||
|
||||
# Do not enable -pedantic-errors for cc26xx driverlib
|
||||
override CFLAGS := $(filter-out -pedantic-errors,$(CFLAGS))
|
||||
override CXXFLAGS := $(filter-out -pedantic-errors,$(CXXFLAGS))
|
||||
|
||||
libopenthread_cc2652_a_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src \
|
||||
|
||||
Reference in New Issue
Block a user