From 36c4912749ab1d12692302386050e25ce8b1d9de Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Thu, 29 Oct 2026 10:54:21 -0700 Subject: [PATCH] atf: refer to `common.mk` using `SRCTOP` This helps make the dependent Makefile (and the values contained within) easier to catch when upgrading atf in the future. MFC after: 1 week --- lib/atf/libatf-c++/tests/detail/Makefile | 2 +- lib/atf/libatf-c/tests/detail/Makefile | 2 +- libexec/atf/atf-sh/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/atf/libatf-c++/tests/detail/Makefile b/lib/atf/libatf-c++/tests/detail/Makefile index 55cefe524068..1463fc27221e 100644 --- a/lib/atf/libatf-c++/tests/detail/Makefile +++ b/lib/atf/libatf-c++/tests/detail/Makefile @@ -29,5 +29,5 @@ BINDIR.${p}= ${TESTSDIR} .endfor version_helper.o: atf-version -.include "../../../common.mk" +.include "${SRCTOP}/lib/atf/common.mk" .include diff --git a/lib/atf/libatf-c/tests/detail/Makefile b/lib/atf/libatf-c/tests/detail/Makefile index 3fa2919b98b9..bd31f88e7353 100644 --- a/lib/atf/libatf-c/tests/detail/Makefile +++ b/lib/atf/libatf-c/tests/detail/Makefile @@ -31,5 +31,5 @@ BINDIR.${p}= ${TESTSDIR} .endfor version_helper.o: atf-version -.include "../../../common.mk" +.include "${SRCTOP}/lib/atf/common.mk" .include diff --git a/libexec/atf/atf-sh/Makefile b/libexec/atf/atf-sh/Makefile index a76b59e9a1aa..560eeecf6591 100644 --- a/libexec/atf/atf-sh/Makefile +++ b/libexec/atf/atf-sh/Makefile @@ -75,5 +75,5 @@ SUBR= libatf-sh.subr HAS_TESTS= SUBDIR.${MK_TESTS}+= tests -.include "../../../lib/atf/common.mk" +.include "${SRCTOP}/lib/atf/common.mk" .include