diff options
Diffstat (limited to 'classes/qmake5_base.bbclass')
| -rw-r--r-- | classes/qmake5_base.bbclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass index 13bb0abc..cbee35f3 100644 --- a/classes/qmake5_base.bbclass +++ b/classes/qmake5_base.bbclass | |||
| @@ -173,6 +173,7 @@ qmake5_base_do_configure () { | |||
| 173 | 173 | ||
| 174 | qmake5_base_native_do_install() { | 174 | qmake5_base_native_do_install() { |
| 175 | oe_runmake install INSTALL_ROOT=${D} | 175 | oe_runmake install INSTALL_ROOT=${D} |
| 176 | find "${D}" -ignore_readdir_race -name "*.la" -delete | ||
| 176 | } | 177 | } |
| 177 | 178 | ||
| 178 | qmake5_base_fix_install() { | 179 | qmake5_base_fix_install() { |
| @@ -192,11 +193,12 @@ qmake5_base_fix_install() { | |||
| 192 | 193 | ||
| 193 | qmake5_base_do_install() { | 194 | qmake5_base_do_install() { |
| 194 | # Fix install paths for all | 195 | # Fix install paths for all |
| 195 | find -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g" | 196 | find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g" |
| 196 | find -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" | 197 | find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g" |
| 197 | find -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE},(INSTALL_ROOT),g" | 198 | find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_NATIVE},(INSTALL_ROOT),g" |
| 198 | 199 | ||
| 199 | oe_runmake install INSTALL_ROOT=${D} | 200 | oe_runmake install INSTALL_ROOT=${D} |
| 201 | find "${D}" -ignore_readdir_race -name "*.la" -delete | ||
| 200 | 202 | ||
| 201 | # everything except HostData and HostBinaries is prefixed with sysroot value, | 203 | # everything except HostData and HostBinaries is prefixed with sysroot value, |
| 202 | # but we cannot remove sysroot override, because that's useful for pkg-config etc | 204 | # but we cannot remove sysroot override, because that's useful for pkg-config etc |
