mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
qtbase: remove unneeded scripts
Reduce warnings from buildpaths QA test (contains reference to TMPDIR)
and remove few build utils that are not usable in bitbake build.
Run same do_install steps for all qtbase builds instead of keeping
separate ones for nativesdk.
Change-Id: Id8a6c4c3b03a850bdb1f99e3a3a08973e134eafc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit ee836b7a9f)
This commit is contained in:
parent
45340a8082
commit
83d3bd799b
|
|
@ -152,9 +152,11 @@ do_install:append() {
|
|||
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/devices.py
|
||||
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/device_destinations.sh
|
||||
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/data/mac/objc_namespace.sh
|
||||
}
|
||||
|
||||
do_install:append:class-nativesdk() {
|
||||
# remove unneeded files that contains reference to TMPDIR [buildpaths]
|
||||
rm -f ${D}${QT6_INSTALL_BINDIR}/host-*
|
||||
rm -f ${D}${QT6_INSTALL_BINDIR}/target_qt.conf
|
||||
|
||||
install -d ${D}${datadir}/cmake/OEToolchainConfig.cmake.d
|
||||
cat > ${D}${datadir}/cmake/OEToolchainConfig.cmake.d/OEQt6Toolchain.cmake <<EOF
|
||||
set(QT_HOST_PATH "\$ENV{OECORE_NATIVE_SYSROOT}/usr" CACHE PATH "")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user