]> code.ossystems Code Review - openembedded-core.git/commitdiff
cmake-native: Remove help docs from the native sysroot
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Mar 2022 15:22:00 +0000 (15:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Mar 2022 17:13:10 +0000 (17:13 +0000)
This drops the file count for cmake-native from ~3000 to ~1700
which is a decent chunk of files not to be copying to each native
sysroot for no reason.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/cmake/cmake-native_3.22.2.bb

index 335097d38720f2e4a89086f43373cd9c499590c7..8293fe5e561b7bc075a3212f7afe7e34be2215ef 100644 (file)
@@ -46,6 +46,9 @@ do_install() {
        install -m 644 ${WORKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/
        mkdir -p ${D}${base_prefix}/environment-setup.d
        install -m 644 ${WORKDIR}/environment.d-cmake.sh ${D}${base_prefix}/environment-setup.d/cmake.sh
+
+       # Help docs create tons of files in the native sysroot and aren't needed there
+       rm -rf ${D}${datadir}/cmake-*/Help
 }
 
 do_compile[progress] = "percent"