diff options
| author | Warner Losh <imp@FreeBSD.org> | 2022-02-02 21:27:56 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2022-02-02 21:27:56 +0000 |
| commit | 034755623d3d211a82084aca3215dc1e6d103bfc (patch) | |
| tree | 1154a4ae3a1f7dbd85c6f0100f34a30a4238a023 | |
| parent | 356deeb2e7f64c5b3fff8e28f4b4fcc8b9cbf7bc (diff) | |
| download | src-034755623d3d211a82084aca3215dc1e6d103bfc.tar.gz src-034755623d3d211a82084aca3215dc1e6d103bfc.zip | |
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
| -rw-r--r-- | Makefile.libcompat | 3 |
1 files changed, 2 insertions, 1 deletions
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}/' \ |
