diff mbox series

[meta-swupdate-boards,1/3] swupdate: Fix defconfig

Message ID 20241018150953.485062-2-ungerer.ricardo@gmail.com
State Accepted
Headers show
Series Bump to styhead | expand

Commit Message

Ricardo Ungerer Oct. 18, 2024, 3:09 p.m. UTC
Since meta-swupdate commit f1178606, SWUpdate recipe adds
CONFIG_EXTRA_CFLAGS and the CONFIG_EXTRA_LDFLAGS in the same '.config'
file generated by 'defconfig'. Causing the generated swupdate binary to
fail in the buildpaths qa check with the message:

WARNING: swupdate-2024.05-r0 do_package_qa: QA Issue: File /usr/bin/swupdate in package swupdate contains reference to TMPDIR [buildpaths]

So far, this have not been detected because of OE-Core commit:

e665be2ad94b736d5a07395303fd71937c021ee8
insane: Promote long standing warnings to errors

Thus, drop these CONFIG_EXTRA_CFLAGS and CONFIG_EXTRA_LDFLAGS from all
available SWUpdate defconfig.

Signed-off-by: Ricardo Ungerer <ungerer.ricardo@gmail.com>
---
 recipes-support/swupdate/swupdate/beaglebone-yocto/defconfig    | 2 --
 recipes-support/swupdate/swupdate/rpi/defconfig                 | 2 --
 recipes-support/swupdate/swupdate/sama5d27-som1-ek-sd/defconfig | 2 --
 recipes-support/swupdate/swupdate/wandboard/defconfig           | 2 --
 4 files changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate/beaglebone-yocto/defconfig b/recipes-support/swupdate/swupdate/beaglebone-yocto/defconfig
index 5c2cd08..774ac67 100644
--- a/recipes-support/swupdate/swupdate/beaglebone-yocto/defconfig
+++ b/recipes-support/swupdate/swupdate/beaglebone-yocto/defconfig
@@ -35,8 +35,6 @@  CONFIG_LUAPKG="lua"
 #
 CONFIG_CROSS_COMPILE=""
 CONFIG_SYSROOT=""
-CONFIG_EXTRA_CFLAGS=""
-CONFIG_EXTRA_LDFLAGS=""
 CONFIG_EXTRA_LDLIBS=""
 
 #
diff --git a/recipes-support/swupdate/swupdate/rpi/defconfig b/recipes-support/swupdate/swupdate/rpi/defconfig
index fdf1c56..94aebde 100644
--- a/recipes-support/swupdate/swupdate/rpi/defconfig
+++ b/recipes-support/swupdate/swupdate/rpi/defconfig
@@ -35,8 +35,6 @@  CONFIG_LUAPKG="lua"
 #
 CONFIG_CROSS_COMPILE=""
 CONFIG_SYSROOT=""
-CONFIG_EXTRA_CFLAGS=""
-CONFIG_EXTRA_LDFLAGS=""
 CONFIG_EXTRA_LDLIBS=""
 
 #
diff --git a/recipes-support/swupdate/swupdate/sama5d27-som1-ek-sd/defconfig b/recipes-support/swupdate/swupdate/sama5d27-som1-ek-sd/defconfig
index 4ac7854..373d282 100644
--- a/recipes-support/swupdate/swupdate/sama5d27-som1-ek-sd/defconfig
+++ b/recipes-support/swupdate/swupdate/sama5d27-som1-ek-sd/defconfig
@@ -35,8 +35,6 @@  CONFIG_LUAPKG="lua"
 #
 CONFIG_CROSS_COMPILE=""
 CONFIG_SYSROOT=""
-CONFIG_EXTRA_CFLAGS=""
-CONFIG_EXTRA_LDFLAGS=""
 CONFIG_EXTRA_LDLIBS=""
 
 #
diff --git a/recipes-support/swupdate/swupdate/wandboard/defconfig b/recipes-support/swupdate/swupdate/wandboard/defconfig
index 557c5f7..98391a8 100644
--- a/recipes-support/swupdate/swupdate/wandboard/defconfig
+++ b/recipes-support/swupdate/swupdate/wandboard/defconfig
@@ -25,8 +25,6 @@  CONFIG_LUAPKG="lua"
 #
 CONFIG_CROSS_COMPILE=""
 CONFIG_SYSROOT=""
-CONFIG_EXTRA_CFLAGS=""
-CONFIG_EXTRA_LDFLAGS=""
 CONFIG_EXTRA_LDLIBS=""
 
 #