mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-06-21 08:52:35 +02:00
qmake5_base: use remove-libtool bbclass
* this requires latest oe-core (Yocto 2.1), if you want to use latest meta-qt5 with older oe-core, you need to backport this bbclass and more importantly don't forget to provide EXTRA_CONF_PACKAGECONFIG Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -47,7 +47,7 @@ OE_QMAKE_WAYLAND_SCANNER = "${STAGING_BINDIR_NATIVE}/wayland-scanner"
|
||||
# this one needs to be exported, because qmake reads it from shell env
|
||||
export QT_CONF_PATH = "${WORKDIR}/qt.conf"
|
||||
|
||||
inherit qmake5_paths
|
||||
inherit qmake5_paths remove-libtool
|
||||
|
||||
do_generate_qt_config_file() {
|
||||
cat > ${QT_CONF_PATH} <<EOF
|
||||
@@ -168,7 +168,6 @@ qmake5_base_nativesdk_do_install() {
|
||||
find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g"
|
||||
|
||||
oe_runmake install INSTALL_ROOT=${D}
|
||||
find "${D}" -ignore_readdir_race -name "*.la" -delete
|
||||
}
|
||||
|
||||
qmake5_base_do_install() {
|
||||
@@ -176,7 +175,6 @@ qmake5_base_do_install() {
|
||||
find . -name "Makefile*" | xargs -r sed -i "s,(INSTALL_ROOT)${STAGING_DIR_TARGET},(INSTALL_ROOT),g"
|
||||
|
||||
oe_runmake install INSTALL_ROOT=${D}
|
||||
find "${D}" -ignore_readdir_race -name "*.la" -delete
|
||||
|
||||
# everything except HostData and HostBinaries is prefixed with sysroot value,
|
||||
# but we cannot remove sysroot override, because that's useful for pkg-config etc
|
||||
|
||||
Reference in New Issue
Block a user