Skip to content

Commit da22402

Browse files
all.sh: Fix clean-up of Makefiles generated by CMake
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
1 parent 8fb5df8 commit da22402

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/scripts/all.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,9 @@ cleanup()
327327
-iname CTestTestfile.cmake -o \
328328
-iname CMakeCache.txt -o \
329329
-path './cmake/*.cmake' \) -exec rm -f {} \+
330-
# Recover files overwritten by in-tree CMake builds
331-
rm -f include/Makefile include/mbedtls/Makefile programs/!(fuzz)/Makefile
330+
# Remove Makefiles generated by in-tree CMake builds
331+
rm -f 3rdparty/Makefile 3rdparty/*/Makefile pkgconfig/Makefile framework/Makefile
332+
rm -f include/Makefile programs/!(fuzz)/Makefile
332333
333334
# Remove any artifacts from the component_test_cmake_as_subdirectory test.
334335
rm -rf programs/test/cmake_subproject/build

0 commit comments

Comments
 (0)