我一直在为英特尔 QM87 构建 x86_64 的 yocto,并且我有一个 Qt5 应用程序,我想使用 -platform eglfs 运行,但它出错了。我试图让我的图像尽可能小,所以我不想安装所有的 x11 或 Wayland。有没有办法只安装我需要的驱动程序。每次我运行应用程序时都会出错,说找不到
/usr/lib/dri/i965_dri.so /usr/lib/dri/kms_swrast.so /usr/lib/dri/swrast_dri.so /usr/lib/gbm/gbm_gallium_drm.so
在我的 mesa.inc 文件中,我添加了包
PACKAGECONFIG ??= "egl gles dri 镓镓-egl 镓-gdm \
我的 conf/local.conf 包含
EXTRA_IMAGE_FEATURES = "调试调整 ssh-server-openssh " > CORE_IMAGE_EXTRA_INSTALL += " libgles2-mesa "
PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"IMAGE_INSTALL_append = " gcc g++ binutils libgcc libgcc-dev libstdc++ libstdc++-dev libstdc++-staticdev \
autoconf automake ccache chkconfig glib-networking glibmm \
packagegroup-core-buildessential pkgconfig \
boost cmake zlib glib-2.0 \
ruby \
cpufrequtils \
nano \
gdb \
gstreamer \
gst-meta-video \
gst-plugins-base-app \
gst-plugins-base \
gst-plugins-good \
gst-plugins-good-rtsp \
gst-plugins-good-udp \
gst-plugins-good-rtpmanager \
gst-plugins-good-rtp\
gst-plugins-good-video4linux2\
openssh-sftp-server\
qtbase-fonts\
qtbase-plugins\
qtbase-tools\
qtdeclarative\
qtdeclarative-plugins\
qtdeclarative-tools\
qtdeclarative-qmlplugins\
qtmultimedia\
qtmultimedia-plugins\
qtmultimedia-qmlplugins\
qtsvg\
qtsvg-plugins\
qtsensors\
qtimageformats-plugins\
qtsystems\
qtsystems-tools
qtsystems-qmlplugins\
qtscript\
qt3d\
qt3d-qmlplugins\
qt3d-tools\
qtwebkit\
qtwebkit-qmlplugins\
qtgraphicaleffects-qmlplugins\
qtconnectivity-qmlplugins\
qtlocation-plugins\
qtlocation-qmlplugins \cinematicexperience
\
cairo pango fontconfig freetype pulseaudio dbus \
alsa-lib alsa-tools alsa-state alsa-utils-alsaconf \
i2c-tools \
libjpeg-turbo \
mesa \
libva-intel-driver \
"DISTRO_FEATURES_remove = " x11 jpeg "
DISTRO_FEATURES += " wayland x11-base opengl pam"BB_NUMBER_THREADS = "16"
PARALLEL_MAKE = "-j 16"QT_PROVIDER = "qt5"
PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
PACKAGECONFIG_DISTRO_pn-qtbase = "icu"PACKAGECONFIG[qtbase] = "-nomake 测试 -opengl 桌面"
DISTRO_FEATURES += " \
ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \
libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc -fmtmsg libc-fstab libc-ftraverse \
libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-locales libc-locale-code \
libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld -debug libc-spawn libc-streams libc-sunrpc \
libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \
libc-posix-wchar-io \
libgl1 -台面-德里\
“