From af3eb2e5b97fd6609d718eb3531fa06a85dc3054 Mon Sep 17 00:00:00 2001 From: Sagar Dhawan Date: Thu, 26 Mar 2020 09:57:07 -0700 Subject: [PATCH] Fix distcheck --- Makefile-Standalone | 28 ++++++++++++++-------------- src/lwip/Makefile.am | 2 ++ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/Makefile-Standalone b/Makefile-Standalone index ff44237cfbac08..2ca94e232a37b0 100644 --- a/Makefile-Standalone +++ b/Makefile-Standalone @@ -75,10 +75,10 @@ configure_OPTIONS = CPPFLAGS="-maes" endif # NOTE: Mac OS SDKs generated on OS X Sierra (or higher) seem to have trouble -# running on El Capitan (or earlier) due to issues with clock_gettime: -# declaring the interface in time.h but not making the symbol -# available in libSystem.dylib, resulting in a runtime crash. For -# now, suppress use of clock_getttime on OS X by overriding +# running on El Capitan (or earlier) due to issues with clock_gettime: +# declaring the interface in time.h but not making the symbol +# available in libSystem.dylib, resulting in a runtime crash. For +# now, suppress use of clock_getttime on OS X by overriding # configure and asserting: # # ac_cv_func_clock_gettime=no @@ -158,7 +158,7 @@ endif ifeq ($(DEBUG),1) configure_OPTIONS += --enable-debug --enable-optimization=no else -configure_OPTIONS += +configure_OPTIONS += endif # Disable docs generation @@ -469,25 +469,25 @@ target: $(TargetTuple) -You may want or need to override the following make variables either on the -command line or in the environment: +You may want or need to override the following make variables either on the +command line or in the environment: DEBUG=[1|0] Enable/disable CHIP debug code and logging (default: '$(DEBUG)'). - COVERAGE=[1|0] Enable/disable generation of code coverage information + COVERAGE=[1|0] Enable/disable generation of code coverage information (default: '$(COVERAGE)'). TIMESTAMP=[1|0] Enable/disable logging module timestamp output (default: '$(TIMESTAMP)'). - USE_LWIP=[1|0] Build the standalone configuration against the LwIP + USE_LWIP=[1|0] Build the standalone configuration against the LwIP library rather than against sockets (default '$(USE_LWIP)'). - BLUEZ=[1|0] Enable support for BLE peripheral using BlueZ bindings + BLUEZ=[1|0] Enable support for BLE peripheral using BlueZ bindings - OPENSSL= Use the prebuilt version of OpenSSL located in the given - directory. Note that the directory is expected to contain - include and lib subdirectories containing the necessary header - and libraries. + OPENSSL= Use the prebuilt version of OpenSSL located in the given + directory. Note that the directory is expected to contain + include and lib subdirectories containing the necessary header + and libraries. OPENSSL=internal Build the internal copy of OpenSSL as part of the CHIP build. diff --git a/src/lwip/Makefile.am b/src/lwip/Makefile.am index 8a831278f84eae..73b9855290b035 100644 --- a/src/lwip/Makefile.am +++ b/src/lwip/Makefile.am @@ -25,6 +25,8 @@ include $(abs_top_nlbuild_autotools_dir)/automake/pre.am +SUBDIRS = tests + if CHIP_WITH_LWIP_INTERNAL lib_LIBRARIES = liblwip.a