Skip to contentSkip to conversation

arago.conf: clean up qtbase PACKAGECONFIG a bit

PATCH New Denys Dmytriyenko 1 participant 2 messages Apr 3, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arago.conf: clean up qtbase PACKAGECONFIG a bit

xkbcommon is no longer needed.

---
 meta-arago-distro/conf/distro/arago.conf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-arago-distro/conf/distro/arago.conf +1 -2
index 992c8a8..a0ede15 100644
@@ -94,9 +94,8 @@ PACKAGECONFIG_append_pn-systemd = " coredump"
 
 # Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit)
 PACKAGECONFIG_GL_pn-qtbase = "gles2 linuxfb"
-PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples xkbcommon-evdev accessibility gif"
+PACKAGECONFIG_DISTRO_pn-qtbase = "icu examples accessibility gif gbm kms libinput"
 PACKAGECONFIG_FONTS_pn-qtbase = "fontconfig"
-PACKAGECONFIG_append_pn-qtbase = "gbm kms"
 
 # Add gstreamer in package configuration to enable video
 PACKAGECONFIG_append_pn-qtmultimedia  = " gstreamer"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 external-arm-toolchain: fix native compilation on the target

Overlay locally for now, will be sent upstream to meta-linaro later.

---
 .../recipes-core/meta/external-arm-toolchain.bbappend     | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend +15 -0
index 974bc7a..410b5cf 100644
@@ -1,4 +1,19 @@
+ORIG_TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS'), ''][d.getVar('TARGET_OS') == ('' or 'custom')]}"
+
 do_install_append() {
 	# libc.so linker script should use relative path to not clash with host libs
 	sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so
+
+	if [ ${EAT_TARGET_SYS} != ${ORIG_TARGET_SYS} ]; then
+		ln -sf ${EAT_TARGET_SYS} ${D}${libdir}/${ORIG_TARGET_SYS}
+	fi
+
+	ln -sf libatomic.so.1 ${D}${libdir}/libatomic.so
+	ln -sf libgomp.so.1 ${D}${libdir}/libgomp.so
+	ln -sf libitm.so.1 ${D}${libdir}/libitm.so
+	ln -sf libssp.so.0 ${D}${libdir}/libssp.so
+	ln -sf libstdc++.so.6 ${D}${libdir}/libstdc++.so
+	ln -sf libubsan.so.1 ${D}${libdir}/libubsan.so
+	ln -sf libasan.so.5 ${D}${libdir}/libasan.so
+	ln -sf libgfortran.so.5 ${D}${libdir}/libgfortran.so
 }
Signature · 1 line
2.7.4