From: Peter Kjellerstedt Date: Tue, 3 Oct 2023 01:05:28 +0000 (+0200) Subject: cmake.bbclass: Add *.cmake to CONFIGURE_FILES X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dae2757bf0fea6ae821a28bd6ea9d0232694c177;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cmake.bbclass: Add *.cmake to CONFIGURE_FILES This makes do_configure depend on changes to any cmake file when externalsrc is active. Signed-off-by: Peter Kjellerstedt Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/cmake.bbclass b/meta/classes-recipe/cmake.bbclass index 41748b08207..d978b889440 100644 --- a/meta/classes-recipe/cmake.bbclass +++ b/meta/classes-recipe/cmake.bbclass @@ -156,7 +156,7 @@ EOF addtask generate_toolchain_file after do_patch before do_configure -CONFIGURE_FILES = "CMakeLists.txt" +CONFIGURE_FILES = "CMakeLists.txt *.cmake" do_configure[cleandirs] = "${@d.getVar('B') if d.getVar('S') != d.getVar('B') else ''}"