From 43e045c1733d50fad79f3a53e05140b8dc0d7fa6 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 18 Nov 2024 18:36:46 +0000 Subject: [PATCH] atf: Guard libexec/atf with WITH_TESTS_SUPPORT Other atf components are guarded by WITH_TESTS_SUPPORT already. WITH_TESTS is for actual tests. Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47660 --- libexec/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libexec/Makefile b/libexec/Makefile index 8287690eeb3c..55e586434087 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -116,10 +116,13 @@ SUBDIR+= tftpd .endif .if ${MK_TESTS} != "no" -_atf= atf _tests= tests .endif +.if ${MK_TESTS_SUPPORT} != "no" +_atf= atf +.endif + .if ${MK_NUAGEINIT} != "no" _nuageinit= nuageinit .endif