diff options
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/qmake5_base.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass index a766cc6b..5b2633bc 100644 --- a/classes/qmake5_base.bbclass +++ b/classes/qmake5_base.bbclass | |||
| @@ -160,20 +160,23 @@ qmake5_base_do_configure () { | |||
| 160 | 160 | ||
| 161 | qmake5_base_native_do_install() { | 161 | qmake5_base_native_do_install() { |
| 162 | oe_runmake install INSTALL_ROOT=${D} | 162 | oe_runmake install INSTALL_ROOT=${D} |
| 163 | find "${D}" -ignore_readdir_race -name "*.la" -delete | ||
| 163 | } | 164 | } |
| 164 | 165 | ||
| 165 | qmake5_base_nativesdk_do_install() { | 166 | qmake5_base_nativesdk_do_install() { |
| 166 | # Fix install paths for all | 167 | # Fix install paths for all |
| 167 | find -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" | 168 | find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" |
| 168 | 169 | ||
| 169 | oe_runmake install INSTALL_ROOT=${D} | 170 | oe_runmake install INSTALL_ROOT=${D} |
| 171 | find "${D}" -ignore_readdir_race -name "*.la" -delete | ||
| 170 | } | 172 | } |
| 171 | 173 | ||
| 172 | qmake5_base_do_install() { | 174 | qmake5_base_do_install() { |
| 173 | # Fix install paths for all | 175 | # Fix install paths for all |
| 174 | find -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g" | 176 | find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g" |
| 175 | 177 | ||
| 176 | oe_runmake install INSTALL_ROOT=${D} | 178 | oe_runmake install INSTALL_ROOT=${D} |
| 179 | find "${D}" -ignore_readdir_race -name "*.la" -delete | ||
| 177 | 180 | ||
| 178 | # everything except HostData and HostBinaries is prefixed with sysroot value, | 181 | # everything except HostData and HostBinaries is prefixed with sysroot value, |
| 179 | # but we cannot remove sysroot override, because that's useful for pkg-config etc | 182 | # but we cannot remove sysroot override, because that's useful for pkg-config etc |
