[meta-arago][master][PATCH] ltp-ddt: Fix reproducible build issue

Ryan Eatmon <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
One of the tests "wdt_test_suite" has a reproducible build issue.  The
patch has been submitted upstream, but will take sometime to propagate
down to here.  This will be a temporary patch.

Signed-off-by: Ryan Eatmon <[email protected]>
---
 ...t_suite-Fix-reproducible-build-issue.patch | 33 +++++++++++++++++++
 .../ltp-ddt/ltp-ddt_20250930.bb               |  1 +
 2 files changed, 34 insertions(+)
 create mode 100644 meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Fix-reproducible-build-issue.patch

diff --git a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Fix-reproducible-build-issue.patch b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Fix-reproducible-build-issue.patch
new file mode 100644
index 00000000..243a0b74
--- /dev/null
+++ b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-wdt_test_suite-Fix-reproducible-build-issue.patch
@@ -0,0 +1,33 @@
+From 438c30f5c8a37df7334769d345b6dff574961a22 Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <[email protected]>
+Date: Mon, 2 Feb 2026 09:52:27 -0600
+Subject: [PATCH] wdt_test_suite: Fix reproducible build issue
+
+The Makefile sets a value for CFLAGS that is not overridden by a value
+from an external build system (like Yocto) which adds the correct
+prefix_map options.  Change the settings of CFLAGS to += to allow for
+defaults from outside.
+
+Upstream-Status: Pending
+
+Signed-off-by: Ryan Eatmon <[email protected]>
+---
+ testcases/ddt/wdt_test_suite/Makefile | 2 +-
+ 1 file changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/testcases/ddt/wdt_test_suite/Makefile b/testcases/ddt/wdt_test_suite/Makefile
+index 3625ba373..11e40e8c3 100644
+--- a/testcases/ddt/wdt_test_suite/Makefile
++++ b/testcases/ddt/wdt_test_suite/Makefile
+@@ -12,7 +12,7 @@ UNWANTED_FILES          := Makefile
+ 
+ INSTALL_MODE            := 00755
+ 
+-CFLAGS		= -g -Wall -D__EXPORTED_HEADERS__
++CFLAGS		+= -g -Wall -D__EXPORTED_HEADERS__
+ LDFLAGS         += -g
+ INCLUDES        = -I $(KERNEL_USR_INC) -I src/interface/common -I ../utils/user
+ 
+-- 
+2.43.0
+
diff --git a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250930.bb b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250930.bb
index 613ff399..9b2be3e5 100644
--- a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250930.bb
+++ b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt_20250930.bb
@@ -16,6 +16,7 @@ BRANCH ?= "master"
 
 SRC_URI:remove = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https"
 SRC_URI:prepend = "git://git.ti.com/git/test-automation/ltp-ddt.git;protocol=https;branch=${BRANCH} "
+SRC_URI += "file://0001-wdt_test_suite-Fix-reproducible-build-issue.patch"
 
 export prefix = "/opt/ltp"
 export exec_prefix = "/opt/ltp"
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.