git: 584ecfeb9cde - main - XZ kernel build cleanup

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 10 Jul 2026 04:18:47 UTC
The branch main has been updated by imp:

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

commit 584ecfeb9cde1e4cf0ed27c4f822b316b67d320e
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2026-07-10 04:05:54 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-07-10 04:14:51 +0000

    XZ kernel build cleanup
    
    -I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz isn't used, and
    .PATH: ${SRCTOP}/sys/contrib/xz-embedded/freebsd isn't used either.
    Remove them both to simplify things a little.
    
    Sponsored by:           Netflix
---
 sys/modules/xz/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/modules/xz/Makefile b/sys/modules/xz/Makefile
index 8951123635c3..a05da29e3611 100644
--- a/sys/modules/xz/Makefile
+++ b/sys/modules/xz/Makefile
@@ -1,5 +1,4 @@
 .PATH:	${SRCTOP}/sys/dev/xz
-.PATH:	${SRCTOP}/sys/contrib/xz-embedded/freebsd
 .PATH:	${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz
 
 KMOD=	xz
@@ -14,7 +13,6 @@ SRCS= \
 CFLAGS+= \
 	-DXZ_USE_CRC64 \
 	-I${SRCTOP}/sys/contrib/xz-embedded/freebsd \
-	-I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz \
 	-I${SRCTOP}/sys/contrib/xz-embedded/linux/include/linux
 
 EXPORT_SYMS=	YES