Skip to contentSkip to conversation

ti-sysbios: avoid file-rdeps QA errors in pre-packaged binaries

PATCH In review Denys Dmytriyenko 2 participants 6 messages Oct 12, 2017 – Oct 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 ti-sysbios: avoid file-rdeps QA errors in pre-packaged binaries

From: Denys Dmytriyenko <[email protected]>

---
 recipes-ti/bios/ti-sysbios.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-ti/bios/ti-sysbios.inc +1 -1
index 53b55a5..d2a551f 100644
@@ -26,4 +26,4 @@ FILES_${PN}-dev += "${SYSBIOS_INSTALL_DIR_RECIPE}"
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_SYSROOT_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-INSANE_SKIP_${PN}-dev = "arch ldflags staticdev"
+INSANE_SKIP_${PN}-dev = "arch ldflags staticdev file-rdeps"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/5 kselftests: bypass seccomp gcc7 build failure, gpio RDEPENDS on bash

From: Denys Dmytriyenko <[email protected]>

---
 recipes-kernel/kselftests/kselftests_4.10.bb | 4 ++++
 1 file changed, 4 insertions(+)
recipes-kernel/kselftests/kselftests_4.10.bb +4 -0
index e3fab0c..e4cd278 100644
@@ -123,6 +123,9 @@ FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug"
 # make[1]: *** [test_verifier] Error 1
 ALLOW_EMPTY_${PN}-bpf = "1"
 
+# gcc 7.x fails to build seccomp
+ALLOW_EMPTY_${PN}-seccomp = "1"
+
 # FIXME net target builds most of the binaries, but reuseport_bpf_numa depends on libnuma,
 # which is not availbale on ARM, failing entire test case
 ALLOW_EMPTY_${PN}-net = "1"
@@ -130,6 +133,7 @@ ALLOW_EMPTY_${PN}-net = "1"
 RDEPENDS_${PN}-cpu-hotplug += "bash"
 RDEPENDS_${PN}-efivarfs += "bash"
 RDEPENDS_${PN}-futex += "bash ncurses"
+RDEPENDS_${PN}-gpio += "bash"
 RDEPENDS_${PN}-memory-hotplug += "bash"
 RDEPENDS_${PN}-net += "bash"
 RDEPENDS_${PN}-vm += "bash sudo"
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/5 dsptop: RDEPENDS on bash

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/dsptop/dsptop_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/dsptop/dsptop_git.bb +1 -1
index 70f9166..c4a9bf3 100644
@@ -21,7 +21,7 @@ do_install() {
 COMPATIBLE_MACHINE = "dra7xx|keystone"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-RDEPENDS_${PN} = "debugss-module-drv"
+RDEPENDS_${PN} = "debugss-module-drv bash"
 RDEPENDS_${PN}_append_keystone = " temperature-module-drv"
 
 include dsptop.inc
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/5 FIXME: gdbc6x: bypass new gcc7 checks, RDEPENDS on bash

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-devtools/gdbc6x/gdbc6x_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-devtools/gdbc6x/gdbc6x_git.bb +3 -1
index 0e6a907..df8175b 100644
@@ -16,6 +16,8 @@ S = "${WORKDIR}/git/gdbc6x"
 inherit update-rc.d
 inherit gettext
 
+CFLAGS += "-Wimplicit-fallthrough=0 -Wformat-overflow=0 -Wformat-truncation=0"
+
 do_configure () {
     cd ${S}
     ./configure --program-suffix=c6x --target=tic6x-elf-tirtos --host=${HOST_SYS} --prefix=${S}/install_gdb
@@ -34,7 +36,7 @@ do_install () {
     install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/gdbserverproxy
 }
 
-RDEPENDS_${PN} = "gdbserverproxy-module-drv"
+RDEPENDS_${PN} = "gdbserverproxy-module-drv bash"
 
 include gdbc6x.inc
 
Signature · 1 line
2.7.4
#4 lore raw

PATCH 5/5 FIXME: ti-sgx-ddk-km: bypass gcc7 fallthrough check

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +2 -0
index 0e5411f..8515239 100644
@@ -33,6 +33,8 @@ TARGET_PRODUCT_ti43x = "ti437x"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
 
+KERNEL_CC += "-Wimplicit-fallthrough=0"
+
 do_compile_prepend() {
     cd ${S}/eurasia_km/eurasiacon/build/linux2/omap_linux
 }
Signature · 1 line
2.7.4
#5 lore raw

Re: [master][PATCH 5/5] FIXME: ti-sgx-ddk-km: bypass gcc7 fallthrough check

Quoted 12 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +0 -0
index 0e5411f..8515239 100644

recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb TARGET_PRODUCT_ti43x = "ti437x" · line 36

Quoted 4 lines
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +1 -0
@@ -33,6 +33,8 @@ TARGET_PRODUCT_ti43x = "ti437x"
 
 EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}'
 
+KERNEL_CC += "-Wimplicit-fallthrough=0"

Well, this flag is gcc7-specific and breaks gcc6 builds... :(

Quoted 7 lines
recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +1 -0
+
 do_compile_prepend() {
     cd ${S}/eurasia_km/eurasiacon/build/linux2/omap_linux
 }
Signature · 1 line
2.7.4