From 2e0af08e551187e53229f4e712d7503e9447644a Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI Date: Wed, 6 Jun 2018 14:28:58 +0900 Subject: [PATCH] build: remove unused CMakeLists.txt lib/libc/minimal/source/CMakeLists.txt and lib/libc/minimal/source/stdout/CMakeLists.txt was introduced in 12f8f7616 but it is not used by the build system. CMakeLists.txt in the parent dir lib/libc/minimal/CMakeLists.txt adds C files to the target with the lines like: ${CMAKE_CURRENT_SOURCE_DIR}/source/stdlib/atoi.c ${CMAKE_CURRENT_SOURCE_DIR}/source/stdlib/strtol.c To make other empty CMakeLists.txt explicit, this commit adds a comment line to them. Signed-off-by: Yasushi SHOJI --- arch/nios2/soc/nios2-qemu/CMakeLists.txt | 1 + arch/nios2/soc/nios2f-zephyr/CMakeLists.txt | 1 + arch/xtensa/soc/sample_controller/CMakeLists.txt | 1 + lib/libc/minimal/source/CMakeLists.txt | 3 --- lib/libc/minimal/source/stdout/CMakeLists.txt | 0 5 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 lib/libc/minimal/source/CMakeLists.txt delete mode 100644 lib/libc/minimal/source/stdout/CMakeLists.txt diff --git a/arch/nios2/soc/nios2-qemu/CMakeLists.txt b/arch/nios2/soc/nios2-qemu/CMakeLists.txt index e69de29bb2d..5ad7fe233df 100644 --- a/arch/nios2/soc/nios2-qemu/CMakeLists.txt +++ b/arch/nios2/soc/nios2-qemu/CMakeLists.txt @@ -0,0 +1 @@ +# intentionally left empty diff --git a/arch/nios2/soc/nios2f-zephyr/CMakeLists.txt b/arch/nios2/soc/nios2f-zephyr/CMakeLists.txt index e69de29bb2d..5ad7fe233df 100644 --- a/arch/nios2/soc/nios2f-zephyr/CMakeLists.txt +++ b/arch/nios2/soc/nios2f-zephyr/CMakeLists.txt @@ -0,0 +1 @@ +# intentionally left empty diff --git a/arch/xtensa/soc/sample_controller/CMakeLists.txt b/arch/xtensa/soc/sample_controller/CMakeLists.txt index e69de29bb2d..5ad7fe233df 100644 --- a/arch/xtensa/soc/sample_controller/CMakeLists.txt +++ b/arch/xtensa/soc/sample_controller/CMakeLists.txt @@ -0,0 +1 @@ +# intentionally left empty diff --git a/lib/libc/minimal/source/CMakeLists.txt b/lib/libc/minimal/source/CMakeLists.txt deleted file mode 100644 index 2089a727f87..00000000000 --- a/lib/libc/minimal/source/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ -add_subdirectory(stdout) -add_subdirectory(string) -add_subdirectory(stdlib) diff --git a/lib/libc/minimal/source/stdout/CMakeLists.txt b/lib/libc/minimal/source/stdout/CMakeLists.txt deleted file mode 100644 index e69de29bb2d..00000000000