Skip to content

Instantly share code, notes, and snippets.

@cyberbobs
Last active August 29, 2015 14:04
Show Gist options
  • Save cyberbobs/07f8cf599ff7b51e3133 to your computer and use it in GitHub Desktop.
Save cyberbobs/07f8cf599ff7b51e3133 to your computer and use it in GitHub Desktop.
Compiling host Qt 5.2.1 for Yocto + SABRE.Lite: paths and options
$ export PATH=$PATH:/opt/yocto-fsp-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi
$ ./configure -v -opensource -confirm-license -device imx6 -device-option CROSS_COMPILE=/opt/yocto-fsp-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -sysroot /home/bobs/development/3rdparty/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite -prefix /opt/qt-sabrelite/5.2.1 -platform linux-g++ -shared -no-pch -no-rpath -pkg-config -no-fontconfig -no-directfb -evdev -no-opengl -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -system-libjpeg -no-kms -system-libpng -no-linuxfb -no-mitshm -no-nis -openssl -qt-pcre -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender -no-xshape -no-xsync -no-xvideo -nomake examples
$ make -j 8
$ make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment