Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2022 21:28:52 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 034755623d3d - main - stand: Fix kboot issue on powerpc64 with MK_LIB32=yes
Message-ID:  <202202022128.212LSqmL060002@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}/' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202022128.212LSqmL060002>