diff mbox series

[1/2] utils/compat_16: Add a make option to disable the build of compat_16 tests.

Message ID 20220817133929.234873-2-tudor.cretu@arm.com
State Rejected
Headers show
Series utils/compat_16: Allow build.sh to disable the compat_16 tests | expand

Commit Message

Tudor Cretu Aug. 17, 2022, 1:39 p.m. UTC
utils/newer_64.mk has a make option that disables the build of newer_64
tests. Similarly, add a make option to utils/compat_16.mk to disable the
build of compat_16 tests.

Signed-off-by: Tudor Cretu <tudor.cretu@arm.com>
 testcases/kernel/syscalls/utils/compat_16.mk | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series


diff --git a/testcases/kernel/syscalls/utils/compat_16.mk b/testcases/kernel/syscalls/utils/compat_16.mk
index e81a00c40..71fcc4b89 100644
--- a/testcases/kernel/syscalls/utils/compat_16.mk
+++ b/testcases/kernel/syscalls/utils/compat_16.mk
@@ -54,7 +54,9 @@  SRCS			?= $(sort $(wildcard $(abs_srcdir)/*.c))
 MAKE_TARGETS		:= $(notdir $(patsubst %.c,%,$(SRCS)))
+ifneq ($(TST_COMPAT_16_SYSCALL),no)
 MAKE_TARGETS		+= $(addsuffix _16,$(MAKE_TARGETS))
 # XXX (garrcoop): This code should be put in question as it cannot be applied
 # (no .h file, no TST_USE_NEWER64_SYSCALL def).