diff mbox series

[7/7] Subject: [PATCH] selftests/powerpc/rtas: consolidate TEST_GEN_PROGS definitions

Message ID 20260918052321.932660-7-shirisha@linux.ibm.com (mailing list archive)
State New
Headers show
Series [1/7] Subject: [PATCH] selftests/powerpc: Add RTAS real-time clock test | expand

Commit Message

Shirisha G Sept. 18, 2026, 5:22 a.m. UTC
Use a single TEST_GEN_PROGS assignment followed by incremental additions
for the RTAS selftests binaries.

Signed-off-by: Shirisha G <shirisha@linux.ibm.com>
---
 tools/testing/selftests/powerpc/rtas/Makefile | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 tools/testing/selftests/powerpc/rtas/Makefile
diff mbox series

Patch

diff --git a/tools/testing/selftests/powerpc/rtas/Makefile b/tools/testing/selftests/powerpc/rtas/Makefile
new file mode 100644
index 000000000000..eb30f62c5636
--- /dev/null
+++ b/tools/testing/selftests/powerpc/rtas/Makefile
@@ -0,0 +1,16 @@ 
+# SPDX-License-Identifier: GPL-2.0
+# RTAS tests
+
+TEST_GEN_PROGS := rtas_rtc_test
+TEST_GEN_PROGS += nvram_test
+TEST_GEN_PROGS += rtas_proc_test
+TEST_GEN_PROGS += fadump_test
+TEST_GEN_PROGS += rtas_flash_test
+
+top_srcdir = ../../../../..
+include ../../lib.mk
+
+$(TEST_GEN_PROGS): utils.h
+
+CFLAGS += -I$(top_srcdir)/tools/testing/selftests/powerpc/include
+CFLAGS += -Wall -Werror