Hi all,
I made a custom build of Angstrom Linux for Tegra K1, target image and SDK.
I got all files from tag ‘Apalis-TK1_LXDE-Image_2.8b2.97-20180331’ from the repo ‘Index of /toradex-bsp-platform.git’ (that gave me the full BSP repo list manifest).
All my Angstrom files were setup in the folder : /angstrom/angstrom/oe-core/…
After bitbaked ‘angstrom-qt5-x11-image’, I got image files and SDK installer : the latter is ‘angstrom-glibc-x86_64-armv7at2hf-neon-v2017.12-toolchain.sh’
Surprisingly, after installing this SDK into a clean Ubuntu docker instance (install dir is ‘/opt/sdk’), I noticed some strange paths in qt5 ‘pri’ files :
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules/qt_lib_gui_private.pri:QMAKE_LIBS_OPENGL = -L/angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/lib/arm-linux-gnueabihf/tegra -lGL
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules/qt_lib_gui_private.pri:QMAKE_INCDIR_OPENGL = /angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/include/libdrm
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules/qt_lib_gui_private.pri:QMAKE_LIBS_EGL = -L/angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/lib/arm-linux-gnueabihf/tegra-egl -lEGL
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules/qt_lib_gui_private.pri:QMAKE_INCDIR_EGL = /angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/include/libdrm
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules/qt_lib_gui_private.pri:QMAKE_INCDIR_FREETYPE = /angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/include/freetype2
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules/qt_lib_gui_private.pri:QMAKE_INCDIR_FONTCONFIG = /angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/include/freetype2
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules/qt_lib_gui_private.pri:QMAKE_INCDIR_LIBPNG = /angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/include/libpng16
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules/qt_lib_core_private.pri:QMAKE_INCDIR_GLIB = /angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/include/glib-2.0
/angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtbase/5.9.4+gitAUTOINC+0d9208cecb-r0/recipe-sysroot/usr/lib/glib-2.0/include
/opt/sdk/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/lib/qt5/mkspecs/modules
/qt_lib_multimedia_private.pri:QMAKE_INCDIR_PULSEAUDIO = /angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtmultimedia/5.9.4+gitAUTOINC+d83467be15-r0/recipe-sysroot/usr/include/glib-2.0 /angstrom/angstrom/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/qtmultimedia/5.9.4+gitAUTOINC+d83467be15-r0/recipe-sysroot/usr/lib/glib-2.0/include
As you may see, some paths from my Angstrom target build environnement are transferred ‘as is’ into the SDK files, a place where they are of course totally invalid once installed into a clean dev Linux box …
Isn’t it strange?
Fred.