From 4d1f60d82e567c2e48d94383fd4e004428108b5b Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Thu, 20 Feb 2020 05:25:07 +0800 Subject: [PATCH] [build] do not export openthread/config.h (#4561) openthread/config.h is just used when building OpenThread, and does not contain OpenThread APIs. --- include/openthread/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/openthread/Makefile.am b/include/openthread/Makefile.am index b1b5d5eaa..5ae48d574 100644 --- a/include/openthread/Makefile.am +++ b/include/openthread/Makefile.am @@ -54,7 +54,6 @@ openthread_headers = \ coap_secure.h \ coap.h \ commissioner.h \ - config.h \ crypto.h \ border_agent.h \ border_router.h \ @@ -93,6 +92,10 @@ dist_openthread_HEADERS = $(openthread_headers) include_HEADERS = \ $(NULL) +noinst_HEADERS = \ + config.h \ + $(NULL) + install-headers: install-includeHEADERS include $(abs_top_nlbuild_autotools_dir)/automake/post.am