git: 034755623d3d - main - stand: Fix kboot issue on powerpc64 with MK_LIB32=yes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Feb 2022 21:28:52 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=034755623d3d211a82084aca3215dc1e6d103bfc
commit 034755623d3d211a82084aca3215dc1e6d103bfc
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-02-02 21:27:56 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-02-02 21:27:56 +0000
stand: Fix kboot issue on powerpc64 with MK_LIB32=yes
When MK_LIB32 is true, we descend into stand for make includes, make
clean, etc. We shouldn't do this, so set MK_BOOT=no when we're building
includes.
Fixes: 6497250f6f7f
PR: 261497
Sponsored by: Netflix
Reviewed by: emaste, brooks (he suggested this)
Differential Revision: https://reviews.freebsd.org/D34141
---
Makefile.libcompat | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.libcompat b/Makefile.libcompat
index 872541188cef..76ad72483cbf 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -27,7 +27,8 @@ LIBCOMPATWMAKEFLAGS+= CC="${XCC} ${LIBCOMPATCFLAGS}" \
-DNO_CPU_CFLAGS \
MK_CTF=no \
-DNO_LINT \
- MK_TESTS=no
+ MK_TESTS=no \
+ MK_BOOT=no
LIBCOMPATWMAKE+= ${TIME_ENV} ${LIBCOMPATWMAKEENV} ${MAKE} ${LIBCOMPATWMAKEFLAGS} \
OBJTOP=${LIBCOMPAT_OBJTOP} \
OBJROOT='$${OBJTOP}/' \