From c77e3b52a12ced70d94253f22d721a8696143e08 Mon Sep 17 00:00:00 2001 From: Adrian Danis Date: Thu, 15 Feb 2018 14:43:39 +1100 Subject: [PATCH] cmake: kernel_all.c does not depend upon any generation `c_arguments_deps` is meant to be the dependencies needed if directly using the CMAKE_C_FLAGS variable, but we are not using that here and so the dependency is redundant --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b314d546d..b999c3755 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,7 +191,7 @@ list(APPEND c_arguments_deps kernel_autoconf_Gen add_custom_command(OUTPUT kernel_all.c COMMAND "${CPP_GEN_PATH}" ${c_sources} > kernel_all.c - DEPENDS "${CPP_GEN_PATH}" ${c_sources} ${c_arguments_deps} + DEPENDS "${CPP_GEN_PATH}" ${c_sources} COMMENT "Concatenating C files" VERBATIM )