Use a single TEST_GEN_PROGS assignment followed by incremental additions
for the RTAS selftests binaries.

Signed-off-by: Shirisha G <[email protected]>
---
 tools/testing/selftests/powerpc/rtas/Makefile | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 tools/testing/selftests/powerpc/rtas/Makefile

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
-- 
2.43.5


Reply via email to