From 2235c71cedd8d17f53947639ddc5d7469192e8f4 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Tue, 23 Mar 2021 08:18:24 -0500 Subject: [PATCH] drivers: wifi: Remove unncessary zephyr_include_directories Several wifi drivers add some form of zephyr_include_directories(.) which isn't needed since the headers in the specific driver dir get included via #include "foo.h". So we can remove any uses of zephyr_include_directories(.) Signed-off-by: Kumar Gala --- drivers/wifi/esp/CMakeLists.txt | 1 - drivers/wifi/eswifi/CMakeLists.txt | 1 - drivers/wifi/simplelink/CMakeLists.txt | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/wifi/esp/CMakeLists.txt b/drivers/wifi/esp/CMakeLists.txt index d16b485d507..987b240ae2a 100644 --- a/drivers/wifi/esp/CMakeLists.txt +++ b/drivers/wifi/esp/CMakeLists.txt @@ -1,7 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 if(CONFIG_WIFI_ESP) - zephyr_include_directories(./) zephyr_library_include_directories( ${ZEPHYR_BASE}/drivers/modem diff --git a/drivers/wifi/eswifi/CMakeLists.txt b/drivers/wifi/eswifi/CMakeLists.txt index bc647daf0bf..78db4a1f811 100644 --- a/drivers/wifi/eswifi/CMakeLists.txt +++ b/drivers/wifi/eswifi/CMakeLists.txt @@ -1,7 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 if(CONFIG_WIFI_ESWIFI) - zephyr_include_directories(./) zephyr_library_include_directories( # IP headers diff --git a/drivers/wifi/simplelink/CMakeLists.txt b/drivers/wifi/simplelink/CMakeLists.txt index 9ad0c9db333..1e5782c7df1 100644 --- a/drivers/wifi/simplelink/CMakeLists.txt +++ b/drivers/wifi/simplelink/CMakeLists.txt @@ -2,7 +2,6 @@ if(CONFIG_WIFI_SIMPLELINK) zephyr_include_directories( - . ${ZEPHYR_BASE}/subsys/net/lib/tls_credentials ) zephyr_sources(