Skip to contentSkip to conversation

toolchain-gcc: bump to 7.3 updated in oe-core

PATCH New Denys Dmytriyenko 1 participant 15 messages Feb 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/15 toolchain-gcc: bump to 7.3 updated in oe-core

---
 meta-arago-distro/conf/distro/include/toolchain-gcc.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-gcc.inc +2 -2
index f98b089..4357ea0 100644
@@ -13,7 +13,7 @@ PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "binutil
 PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
 
 # Set Cross and SDK toolchain preferences
-SDKGCCVERSION ?= "7.2%"
+SDKGCCVERSION ?= "7.3%"
 SDKBINUVERSION ?= "2.29%"
 SDKGLIBCVERSION ?= "2.26%"
 SDKLINUXLIBCVERSION ?= "4.9%"
@@ -31,7 +31,7 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}"
 
 # Set target toolchain preferences to match Cross/SDK by default
 # Can be overwritten globally, if needed
-GCCVERSION ?= "7.2%"
+GCCVERSION ?= "7.3%"
 BINUVERSION ?= "2.29%"
 GLIBCVERSION ?= "2.26%"
 GLIBCINITVERSION ?= "2.26%"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/15 toolchain-linaro: update gcc and glibc versions

glibc is built from oe-core, gcc is from meta-linaro Although 2017.11 Linaro has gcc 7.2, recipe is only available for 7.1

---
 meta-arago-distro/conf/distro/include/toolchain-linaro.inc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-linaro.inc +5 -5
index fd0397d..0a16ee7 100644
@@ -31,9 +31,9 @@ PREFERRED_PROVIDER_libgcc = "external-linaro-toolchain"
 PREFERRED_PROVIDER_gcc-runtime = "external-linaro-toolchain"
 
 # Set Cross and SDK toolchain preferences
-SDKGCCVERSION ?= "linaro-6.3%"
+SDKGCCVERSION ?= "linaro-7.1%"
 SDKBINUVERSION ?= "linaro-2.27%"
-SDKGLIBCVERSION ?= "2.25%"
+SDKGLIBCVERSION ?= "2.26%"
 SDKLINUXLIBCVERSION ?= "4.9%"
 
 PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
@@ -49,10 +49,10 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}"
 
 # Set target toolchain preferences to match Cross/SDK by default
 # Can be overwritten globally, if needed
-GCCVERSION ?= "linaro-6.3%"
+GCCVERSION ?= "linaro-7.1%"
 BINUVERSION ?= "linaro-2.27%"
-GLIBCVERSION ?= "2.25%"
-GLIBCINITVERSION ?= "2.25%"
+GLIBCVERSION ?= "2.26%"
+GLIBCINITVERSION ?= "2.26%"
 LINUXLIBCVERSION ?= "4.9%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/15 toolchain-linaro: add gdb preferences

In reply to Denys Dmytriyenko
---
 meta-arago-distro/conf/distro/include/toolchain-linaro.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta-arago-distro/conf/distro/include/toolchain-linaro.inc +4 -0
index 0a16ee7..c9301b0 100644
@@ -32,12 +32,14 @@ PREFERRED_PROVIDER_gcc-runtime = "external-linaro-toolchain"
 
 # Set Cross and SDK toolchain preferences
 SDKGCCVERSION ?= "linaro-7.1%"
+SDKGDBVERSION ?= "8.0"
 SDKBINUVERSION ?= "linaro-2.27%"
 SDKGLIBCVERSION ?= "2.26%"
 SDKLINUXLIBCVERSION ?= "4.9%"
 
 PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
 PREFERRED_VERSION_gcc-crosssdk-initial-${SDK_SYS} ?= "${SDKGCCVERSION}"
+PREFERRED_VERSION_gdb-crosssdk-${SDK_SYS} ?= "${SDKGDBVERSION}"
 PREFERRED_VERSION_binutils-crosssdk-${SDK_SYS} ?= "${SDKBINUVERSION}"
 
 PREFERRED_VERSION_nativesdk-gcc-runtime ?= "${SDKGCCVERSION}"
@@ -50,12 +52,14 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}"
 # Set target toolchain preferences to match Cross/SDK by default
 # Can be overwritten globally, if needed
 GCCVERSION ?= "linaro-7.1%"
+GDBVERSION ?= "8.0"
 BINUVERSION ?= "linaro-2.27%"
 GLIBCVERSION ?= "2.26%"
 GLIBCINITVERSION ?= "2.26%"
 LINUXLIBCVERSION ?= "4.9%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
+PREFERRED_VERSION_gdb ?= "${GDBVERSION}"
 PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
 PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
 PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}"
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/15 toolchain-external: can no longer determine toolchain from PATH

In reply to Denys Dmytriyenko
---
 meta-arago-distro/conf/distro/include/toolchain-external.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-external.inc +3 -3
index 4d14c00..c48b09d 100644
@@ -1,4 +1,4 @@
-# Locate the toolchain automatically from PATH
-TOOLCHAIN_SYSPATH := "${@os.path.abspath(os.path.dirname(bb.utils.which(d.getVar('PATH', d, 1), d.getVar('TOOLCHAIN_PREFIX', d, 1)+'cpp'))+'/../'+d.getVar('TOOLCHAIN_SYS', d, 1))}"
-TOOLCHAIN_PATH := "${@bool(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) and (os.path.exists(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) and os.path.dirname(d.getVar('TOOLCHAIN_SYSPATH', d, 1)) or bb.fatal('No valid toolchain in PATH')) or ''}"
+# Set some default toolchain location variables
+TOOLCHAIN_PATH ??= "/usr/local/sdk"
+TOOLCHAIN_SYSPATH = "${TOOLCHAIN_PATH}/${TOOLCHAIN_SYS}"
 EXTERNAL_TOOLCHAIN = "${TOOLCHAIN_PATH}"
Signature · 1 line
2.7.4
#4 lore raw

PATCH 5/15 toolchain-linaro: set default TOOLCHAIN_PATH for supported archs

In reply to Denys Dmytriyenko
---
 .../conf/distro/include/toolchain-linaro.inc       | 23 +++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-linaro.inc +18 -5
index c9301b0..b888be2 100644
@@ -2,17 +2,30 @@
 TCMODE = "external-linaro"
 TCLIBC = "external-linaro-toolchain"
 
-ELT_TARGET_SYS = "arm-linux-gnueabihf"
-ELT_TARGET_SYS_armv5 = "arm-linux-gnueabi"
-ELT_TARGET_SYS_aarch64 = "aarch64-linux-gnu"
+ELT_TARGET_SYS_ARMV5 ?= "arm-linux-gnueabi"
+ELT_TARGET_SYS_ARMV7 ?= "arm-linux-gnueabihf"
+ELT_TARGET_SYS_ARMV8 ?= "aarch64-linux-gnu"
+
+ELT_TARGET_SYS_arm = "${ELT_TARGET_SYS_ARMV5}"
+ELT_TARGET_SYS_armv7a = "${ELT_TARGET_SYS_ARMV7}"
+ELT_TARGET_SYS_aarch64 = "${ELT_TARGET_SYS_ARMV8}"
+
 TARGET_VENDOR = ""
 
-PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "external-linaro-toolchain"
+TOOLCHAIN_BASE ?= "/opt"
+TOOLCHAIN_PATH_ARMV5 ?= "${TOOLCHAIN_BASE}/gcc-linaro-7.2.1-ti2018.00-armv5-x86_64_${ELT_TARGET_SYS_ARMV5}"
+TOOLCHAIN_PATH_ARMV7 ?= "${TOOLCHAIN_BASE}/gcc-linaro-7.2.1-2017.11-x86_64_${ELT_TARGET_SYS_ARMV7}"
+TOOLCHAIN_PATH_ARMV8 ?= "${TOOLCHAIN_BASE}/gcc-linaro-7.2.1-2017.11-x86_64_${ELT_TARGET_SYS_ARMV8}"
+
+TOOLCHAIN_PATH_arm = "${TOOLCHAIN_PATH_ARMV5}"
+TOOLCHAIN_PATH_armv7a = "${TOOLCHAIN_PATH_ARMV7}"
+TOOLCHAIN_PATH_aarch64 = "${TOOLCHAIN_PATH_ARMV8}"
 
-# Set some vars to help locate the toolchain automatically from PATH
 TOOLCHAIN_SYS := "${ELT_TARGET_SYS}"
 TOOLCHAIN_PREFIX := "${TOOLCHAIN_SYS}-"
 
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "external-linaro-toolchain"
+
 # Use specific libc headers instead of ones provided by toolchain
 PREFERRED_PROVIDER_linux-libc-headers_forcevariable = "linux-libc-headers"
 PREFERRED_PROVIDER_linux-libc-headers-dev_forcevariable = "linux-libc-headers"
Signature · 1 line
2.7.4
#5 lore raw

PATCH 6/15 external-linaro-sdk-toolchain: skip file-rdeps QA check not applicable to external toolchain

In reply to Denys Dmytriyenko
---
 .../recipes-core/meta/external-linaro-sdk-toolchain.bb              | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-arago-extras/recipes-core/meta/external-linaro-sdk-toolchain.bb +3 -3
index 945ef7b..de6fd57 100644
@@ -14,9 +14,9 @@ EXCLUDE_FROM_SHLIBS = "1"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-INSANE_SKIP_gcc-cross-canadian-arm = "dev-so staticdev"
-INSANE_SKIP_gdb-cross-canadian-arm = "dev-so"
-INSANE_SKIP_binutils-cross-canadian-arm = "dev-so"
+INSANE_SKIP_gcc-cross-canadian-arm = "dev-so staticdev file-rdeps"
+INSANE_SKIP_gdb-cross-canadian-arm = "dev-so file-rdeps"
+INSANE_SKIP_binutils-cross-canadian-arm = "dev-so file-rdeps"
 
 PROVIDES = "\
 	gcc-cross-canadian-arm \
Signature · 1 line
2.7.4
#6 lore raw

PATCH 7/15 external-linaro-toolchain, gcc: move external-linaro-toolchain-cross dependency

In reply to Denys Dmytriyenko

Since gcc is the one that needs it and no common sysroot available now.

---
 meta-arago-distro/recipes-devtools/gcc/gcc_%.bbappend                  | 3 +++
 meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend | 2 --
 2 files changed, 3 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-devtools/gcc/gcc_%.bbappend +3 -0
index b84c9e4..92f2874 100644
@@ -1 +1,4 @@
 DEPENDS =+ "flex-native"
+
+EXTRA_DEPS = "${@['','external-linaro-toolchain-cross-${TARGET_ARCH}'][d.getVar('TOOLCHAIN_TYPE', True) == 'external' and d.getVar('TOOLCHAIN_BRAND', True) == 'linaro']}"
+DEPENDS += "${EXTRA_DEPS}"
meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend +0 -2
index ae74e37..df5b5c0 100644
@@ -26,8 +26,6 @@ PACKAGES =+ "libgcc-dev"
 
 DEPENDS += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', '', 'linux-libc-headers', d)}"
 
-DEPENDS += "external-linaro-toolchain-cross-${TARGET_ARCH}"
-
 RDEPENDS_${PN}-utils = ""
 
 PKGV = "${ELT_VER_LIBC}"
Signature · 1 line
2.7.4
#7 lore raw

PATCH 8/15 external-linaro-toolchain-cross: handle case when target and cross gcc versions differ

In reply to Denys Dmytriyenko
---
 .../recipes-core/meta/external-linaro-toolchain-cross.bb      | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/meta/external-linaro-toolchain-cross.bb +9 -2
index 14e0826..8a0b333 100644
@@ -13,7 +13,14 @@ BPN = "external-linaro-toolchain"
 INHIBIT_DEFAULT_DEPS = "1"
 INHIBIT_AUTOTOOLS_DEPS = "1"
 
+# When used external toolchain gcc version doesn't match
+# the one built for the target
+# OE-Core gcc version
+#TGT_VER_GCC = "7.3.0"
+# Linaro gcc source version
+TGT_VER_GCC = "7.1.1"
+
 do_install() {
-	install -d ${D}${libdir}/gcc/${TARGET_SYS}/${ELT_VER_GCC}/include/
-	cp -a ${TOOLCHAIN_PATH}/lib/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/include/unwind.h ${D}/${libdir}/gcc/${TARGET_SYS}/${ELT_VER_GCC}/include/
+	install -d ${D}${libdir}/gcc/${TARGET_SYS}/${TGT_VER_GCC}/include/
+	cp -a ${TOOLCHAIN_PATH}/lib/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/include/unwind.h ${D}/${libdir}/gcc/${TARGET_SYS}/${TGT_VER_GCC}/include/
 }
Signature · 1 line
2.7.4
#8 lore raw

PATCH 9/15 external-linaro-toolchain: remove support for separate linux-libc-headers

In reply to Denys Dmytriyenko
---
 .../conf/distro/include/toolchain-linaro.inc              |  5 -----
 .../recipes-core/meta/external-linaro-toolchain.bbappend  | 15 ---------------
 2 files changed, 20 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-linaro.inc +0 -5
index b888be2..81cf1f7 100644
@@ -26,11 +26,6 @@ TOOLCHAIN_PREFIX := "${TOOLCHAIN_SYS}-"
 
 PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "external-linaro-toolchain"
 
-# Use specific libc headers instead of ones provided by toolchain
-PREFERRED_PROVIDER_linux-libc-headers_forcevariable = "linux-libc-headers"
-PREFERRED_PROVIDER_linux-libc-headers-dev_forcevariable = "linux-libc-headers"
-PREFERRED_PROVIDER_virtual/linux-libc-headers_forcevariable = "linux-libc-headers"
-
 PREFERRED_PROVIDER_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "external-linaro-sdk-toolchain"
 PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "external-linaro-sdk-toolchain"
 #PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "external-linaro-sdk-toolchain"
meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend +0 -15
index df5b5c0..65fb53a 100644
@@ -9,23 +9,11 @@ ALLOW_EMPTY_libgomp = "1"
 
 PR_append = ".arago36"
 
-PROVIDES := "${@oe_filter_out('virtual/linux-libc-headers', '${PROVIDES}', d)}"
-PROVIDES := "${@oe_filter_out('linux-libc-headers', '${PROVIDES}', d)}"
-
-PROVIDES += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', 'linux-libc-headers linux-libc-headers-dev', '', d)}"
-
 RPROVIDES_${PN}-staticdev += "glibc-staticdev"
 
-PACKAGES := "${@oe_filter_out('linux-libc-headers-dev', '${PACKAGES}', d)}"
-PACKAGES := "${@oe_filter_out('linux-libc-headers', '${PACKAGES}', d)}"
-
-PACKAGES += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', 'linux-libc-headers-dev', '', d)}"
-
 PACKAGES := "${@oe_filter_out('libgcc-dev', '${PACKAGES}', d)}"
 PACKAGES =+ "libgcc-dev"
 
-DEPENDS += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', '', 'linux-libc-headers', d)}"
-
 RDEPENDS_${PN}-utils = ""
 
 PKGV = "${ELT_VER_LIBC}"
@@ -157,7 +145,4 @@ do_install_append() {
 
 	cp -a ${TOOLCHAIN_PATH}/${base_libdir}/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/libgcc.a ${D}${libdir}
 	cp -a ${TOOLCHAIN_PATH}/${base_libdir}/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/crt*.o ${D}${libdir}
-
-	${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', '', 'rm -rf ${D}${includedir}/asm*; rm -rf ${D}${includedir}/drm; rm -rf ${D}${includedir}/linux; rm -rf ${D}${includedir}/mtd; rm -rf ${D}${includedir}/rdma; rm -rf ${D}${includedir}/sound; rm -rf ${D}${includedir}/video', d)}
-	${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', '', 'rm -rf ${D}${includedir}/uapi/.install; rm -rf ${D}${includedir}/misc/.install; rm -rf ${D}${includedir}/misc/cxl.h; rm -rf ${D}${includedir}/scsi/.install; rm -rf ${D}${includedir}/scsi/scsi_netlink*; rm -rf ${D}${includedir}/scsi/scsi_bsg*; rm -rf ${D}${includedir}/scsi/cxlflash_ioctl.h; rm -rf ${D}${includedir}/scsi/fc; rm -rf ${D}${includedir}/xen', d)}
 }
Signature · 1 line
2.7.4
#9 lore raw

PATCH 10/15 external-linaro-toolchain: fix libstdc++ debug packaging confusing shlib

In reply to Denys Dmytriyenko
---
 .../recipes-core/meta/external-linaro-toolchain.bbappend          | 8 ++++++++
 1 file changed, 8 insertions(+)
meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend +8 -0
index 65fb53a..b266855 100644
@@ -88,6 +88,14 @@ FILES_libstdc++-dev += "\
 	/include/c++ \
 "
 
+FILES_${PN}-dbg_remove = "${base_libdir}/debug"
+
+FILES_libstdc++-dbg = "\
+	${base_libdir}/debug/libstdc++*.* \
+"
+
+PRIVATE_LIBS_libstdc++-dbg = "libstdc++.so.6"
+
 FILES_libgomp-dev += "\
 	${libdir}/gcc/${TARGET_SYS}/${ELT_VER_GCC}/include/omp.h \
 	${libdir}/gcc/${ELT_TARGET_SYS} \
Signature · 1 line
2.7.4
#10 lore raw

PATCH 11/15 external-linaro-toolchain: also provide virtual/libc-locale

In reply to Denys Dmytriyenko
---
 meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend | 2 ++
 1 file changed, 2 insertions(+)
meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend +2 -0
index b266855..5b7305c 100644
@@ -9,6 +9,8 @@ ALLOW_EMPTY_libgomp = "1"
 
 PR_append = ".arago36"
 
+PROVIDES += "virtual/libc-locale"
+
 RPROVIDES_${PN}-staticdev += "glibc-staticdev"
 
 PACKAGES := "${@oe_filter_out('libgcc-dev', '${PACKAGES}', d)}"
Signature · 1 line
2.7.4
#11 lore raw

PATCH 12/15 external-linaro-toolchain: fix RDEPENDS errors

In reply to Denys Dmytriyenko
---
 .../recipes-core/meta/external-linaro-toolchain.bbappend             | 5 +++++
 1 file changed, 5 insertions(+)
meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend +5 -0
index 5b7305c..ab08405 100644
@@ -18,6 +18,11 @@ PACKAGES =+ "libgcc-dev"
 
 RDEPENDS_${PN}-utils = ""
 
+RDEPENDS_tzcode += "bash"
+RDEPENDS_ldd += "bash"
+RDEPENDS_libasan += "libstdc++"
+RDEPENDS_libubsan += "libstdc++"
+
 PKGV = "${ELT_VER_LIBC}"
 PKGV_glibc-thread-db = "${ELT_VER_LIBC}"
 
Signature · 1 line
2.7.4
#12 lore raw

PATCH 13/15 external-linaro-toolchain: override multilib header handling to skip one header

In reply to Denys Dmytriyenko
---
 .../recipes-core/meta/external-linaro-toolchain.bbappend   | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend +14 -0
index ab08405..6ebcb4b 100644
@@ -161,3 +161,17 @@ do_install_append() {
 	cp -a ${TOOLCHAIN_PATH}/${base_libdir}/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/libgcc.a ${D}${libdir}
 	cp -a ${TOOLCHAIN_PATH}/${base_libdir}/gcc/${ELT_TARGET_SYS}/${ELT_VER_GCC}/crt*.o ${D}${libdir}
 }
+
+# Latest Linaro toolchain 2017.11 comes with glibc 2.25, while OE-Core provides 2.26
+# Need to override armmultilib from OE-Core here to not fail on new bits/pthreadtypes-arch.h
+# that did not exist in glibc 2.25
+do_install_armmultilib () {
+
+	oe_multilib_header bits/endian.h bits/fcntl.h bits/fenv.h bits/fp-fast.h bits/hwcap.h bits/ipc.h bits/link.h bits/wordsize.h
+	oe_multilib_header bits/local_lim.h bits/mman.h bits/msq.h bits/pthreadtypes.h bits/sem.h  bits/semaphore.h bits/setjmp.h
+	oe_multilib_header bits/shm.h bits/sigstack.h bits/stat.h bits/statfs.h bits/typesizes.h
+
+	oe_multilib_header fpu_control.h gnu/lib-names.h gnu/stubs.h ieee754.h
+
+	oe_multilib_header sys/elf.h sys/procfs.h sys/ptrace.h sys/ucontext.h sys/user.h
+}
Signature · 1 line
2.7.4
#13 lore raw

PATCH 14/15 external-linaro-toolchain: install custom linux-libc-headers on top

In reply to Denys Dmytriyenko
---
 .../meta/external-linaro-toolchain.bbappend        | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 meta-arago-distro/recipes-core/meta/external-linaro-toolchain.bbappend
meta-arago-distro/recipes-core/meta/external-linaro-toolchain.bbappend new file +44 -0
new file mode 100644
index 0000000..0120c12
@@ -0,0 +1,44 @@
+# This is a rather hacky way to install custom linux-libc-headers
+# on top of the external-linaro-toolchain, since simply depending
+# on linux-libc-headers creates circular dependencies now. Mostly
+# duplication of code from corresponding recipe.
+
+BRANCH = "ti-lsk-linux-4.9.y"
+SRCREV = "1c74e8801cf58a30394ae92236895599f2c77253"
+
+KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
+KERNEL_GIT_PROTOCOL = "git"
+SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH}"
+
+inherit kernel-arch pkgconfig multilib_header
+
+EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}""
+
+do_configure_append() {
+	cd ${WORKDIR}/git
+	oe_runmake allnoconfig
+}
+
+do_install_append() {
+	cd ${WORKDIR}/git
+	oe_runmake headers_install INSTALL_HDR_PATH=${B}${exec_prefix}
+
+	# The ..install.cmd conflicts between various configure runs
+	find ${B}${includedir} -name ..install.cmd | xargs rm -f
+
+	CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
+	cp ${CP_ARGS} ${B}${includedir} ${D}${exec_prefix}
+}
+
+do_install_append_aarch64 () {
+        do_install_asm_armmultilib
+}
+
+do_install_append_arm () {
+	do_install_asm_armmultilib
+}
+
+do_install_asm_armmultilib () {
+	oe_multilib_header asm/auxvec.h asm/bitsperlong.h asm/byteorder.h asm/fcntl.h asm/hwcap.h asm/ioctls.h asm/kvm.h asm/mman.h asm/param.h asm/perf_regs.h
+	oe_multilib_header asm/posix_types.h asm/ptrace.h  asm/setup.h  asm/sigcontext.h asm/siginfo.h asm/signal.h asm/stat.h  asm/statfs.h asm/swab.h  asm/types.h asm/unistd.h
+}
Signature · 1 line
2.7.4
#14 lore raw

PATCH 15/15 arago.conf: bump distro version

In reply to Denys Dmytriyenko
---
 meta-arago-distro/conf/distro/arago.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/conf/distro/arago.conf +1 -1
index 5763942..bdeb5e6 100644
@@ -1,6 +1,6 @@
 # Name and version of the distribution
 DISTRO_NAME = "Arago"
-DISTRO_VERSION = "2017.12"
+DISTRO_VERSION = "2018.02"
 DISTRO_FEED_URI ?= "http://lcpd.gt.design.ti.com"
 BUILD_VARIANT = "${@['prod','rt','systest'][int(d.getVar('ARAGO_RT_ENABLE'))+int(d.getVar('ARAGO_SYSTEST_ENABLE'))*2]}"
 FEEDURIPREFIX ?= "packages/${DISTRO}-master/${BUILD_VARIANT}/"
Signature · 1 line
2.7.4