diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-03 15:22:00 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-04 17:14:15 +0000 |
| commit | 0aae0afd05e3a58e3041bf8d2ba1ab7dcfa9f8be (patch) | |
| tree | e8eda44a878bc8a7273531a88cfabb437d9a0913 /meta/recipes-devtools/cmake | |
| parent | cb209c2d1653445b8ec8abc6f35ec13d8fd6aaee (diff) | |
| download | poky-0aae0afd05e3a58e3041bf8d2ba1ab7dcfa9f8be.tar.gz | |
cmake-native: Remove help docs from the native sysroot
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.
(From OE-Core rev: 6e561619a2a2b688735deae968eb66027fd4b9f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake')
| -rw-r--r-- | meta/recipes-devtools/cmake/cmake-native_3.22.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.22.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.22.2.bb index 335097d387..8293fe5e56 100644 --- a/meta/recipes-devtools/cmake/cmake-native_3.22.2.bb +++ b/meta/recipes-devtools/cmake/cmake-native_3.22.2.bb | |||
| @@ -46,6 +46,9 @@ do_install() { | |||
| 46 | install -m 644 ${WORKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/ | 46 | install -m 644 ${WORKDIR}/OEToolchainConfig.cmake ${D}${datadir}/cmake/ |
| 47 | mkdir -p ${D}${base_prefix}/environment-setup.d | 47 | mkdir -p ${D}${base_prefix}/environment-setup.d |
| 48 | install -m 644 ${WORKDIR}/environment.d-cmake.sh ${D}${base_prefix}/environment-setup.d/cmake.sh | 48 | install -m 644 ${WORKDIR}/environment.d-cmake.sh ${D}${base_prefix}/environment-setup.d/cmake.sh |
| 49 | |||
| 50 | # Help docs create tons of files in the native sysroot and aren't needed there | ||
| 51 | rm -rf ${D}${datadir}/cmake-*/Help | ||
| 49 | } | 52 | } |
| 50 | 53 | ||
| 51 | do_compile[progress] = "percent" | 54 | do_compile[progress] = "percent" |
