git: c6dfeb546d8c - main - tests/fib_lookup: Fix compilation by adding SYSDIR

From: Pouria Mousavizadeh Tehrani <pouria_at_FreeBSD.org>
Date: Thu, 10 Sep 2026 11:02:36 UTC
The branch main has been updated by pouria:

URL: https://cgit.FreeBSD.org/src/commit/?id=c6dfeb546d8c45ae30bba15402da8ab0621532a0

commit c6dfeb546d8c45ae30bba15402da8ab0621532a0
Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-09-10 10:54:28 +0000
Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-09-10 11:00:14 +0000

    tests/fib_lookup: Fix compilation by adding SYSDIR
    
    This module is intended to compile in its own directory.
    Therefore, the SYSDIR is not defined by default. See 0433870efefc.
    
    Fixes:  8e985774117d ("kern: Remove needless kern.opts.mk")
---
 sys/modules/tests/fib_lookup/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/modules/tests/fib_lookup/Makefile b/sys/modules/tests/fib_lookup/Makefile
index b78d4309f145..f8f800576236 100644
--- a/sys/modules/tests/fib_lookup/Makefile
+++ b/sys/modules/tests/fib_lookup/Makefile
@@ -1,3 +1,4 @@
+SYSDIR?=${SRCTOP}/sys
 .PATH: ${SYSDIR}/tests/fib_lookup
 
 KMOD=	test_lookup