The branch stable/13 has been updated by mhorne:

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

commit 19cbaf34a3e47475f72f2ba3783d9281ca57996f
Author:     Mitchell Horne <[email protected]>
AuthorDate: 2021-08-04 18:17:34 +0000
Commit:     Mitchell Horne <[email protected]>
CommitDate: 2021-08-11 16:53:16 +0000

    mk: format some option lists
    
    Alphabetize and give each option its own line, ahead of making another
    change to these lists. This makes future diffs easier to read.
    
    Reviewed by:    imp, emaste
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D31399
    
    (cherry picked from commit bcd2f41f7d222a942fe0a268614b46d3ec3af4c0)
---
 Makefile.inc1                           | 48 ++++++++++++++++++++++++---------
 Makefile.libcompat                      |  8 ++++--
 targets/pseudo/bootstrap-tools/Makefile | 23 +++++++++++-----
 3 files changed, 59 insertions(+), 20 deletions(-)

diff --git a/Makefile.inc1 b/Makefile.inc1
index 8b417eaaac05..a03b79a5b02c 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -727,12 +727,23 @@ BSARGS=   DESTDIR= \
                BOOTSTRAPPING=${BOOTSTRAPPING_OSRELDATE} \
                BWPHASE=${.TARGET:C,^_,,} \
                SSP_CFLAGS= \
-               MK_HTML=no NO_LINT=yes MK_MAN=no MK_MAN_UTILS=yes \
-               -DNO_PIC MK_PROFILE=no -DNO_SHARED \
-               -DNO_CPU_CFLAGS MK_WERROR=no MK_CTF=no \
-               MK_CLANG_EXTRAS=no MK_CLANG_FORMAT=no MK_CLANG_FULL=no \
-               MK_LLDB=no MK_RETPOLINE=no MK_TESTS=no \
-               MK_INCLUDES=yes
+               -DNO_CPU_CFLAGS \
+               -DNO_LINT \
+               -DNO_PIC \
+               -DNO_SHARED \
+               MK_CTF=no \
+               MK_CLANG_EXTRAS=no \
+               MK_CLANG_FORMAT=no \
+               MK_CLANG_FULL=no \
+               MK_HTML=no \
+               MK_LLDB=no \
+               MK_MAN=no \
+               MK_PROFILE=no \
+               MK_RETPOLINE=no \
+               MK_TESTS=no \
+               MK_WERROR=no \
+               MK_INCLUDES=yes \
+               MK_MAN_UTILS=yes
 
 BMAKE=         \
                ${BMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \
@@ -749,10 +760,16 @@ TMAKE=            \
                BOOTSTRAPPING=${BOOTSTRAPPING_OSRELDATE} \
                BWPHASE=${.TARGET:C,^_,,} \
                SSP_CFLAGS= \
+               -DNO_CPU_CFLAGS \
                -DNO_LINT \
-               -DNO_CPU_CFLAGS MK_WERROR=no MK_CTF=no \
-               MK_CLANG_EXTRAS=no MK_CLANG_FORMAT=no MK_CLANG_FULL=no \
-               MK_LLDB=no MK_RETPOLINE=no MK_TESTS=no
+               MK_CTF=no \
+               MK_CLANG_EXTRAS=no \
+               MK_CLANG_FORMAT=no \
+               MK_CLANG_FULL=no \
+               MK_LLDB=no \
+               MK_RETPOLINE=no \
+               MK_TESTS=no \
+               MK_WERROR=no
 
 # cross-tools stage
 # TOOLS_PREFIX set in BMAKE
@@ -776,9 +793,16 @@ KTMAKE=            \
                MAKEOBJDIRPREFIX= \
                BOOTSTRAPPING=${BOOTSTRAPPING_OSRELDATE} \
                SSP_CFLAGS= \
-               MK_HTML=no -DNO_LINT MK_MAN=no \
-               -DNO_PIC MK_PROFILE=no -DNO_SHARED \
-               -DNO_CPU_CFLAGS MK_RETPOLINE=no MK_WERROR=no MK_CTF=no
+               -DNO_CPU_CFLAGS \
+               -DNO_LINT \
+               -DNO_PIC \
+               -DNO_SHARED \
+               MK_CTF=no \
+               MK_HTML=no \
+               MK_MAN=no \
+               MK_PROFILE=no \
+               MK_RETPOLINE=no \
+               MK_WERROR=no
 
 # world stage
 WMAKEENV=      ${CROSSENV} \
diff --git a/Makefile.libcompat b/Makefile.libcompat
index 779bcb163cf7..7238c6faf898 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -103,8 +103,12 @@ build${libcompat}: .PHONY
            OBJTOP=${LIBCOMPAT_OBJTOP} \
            OBJROOT='$${OBJTOP}/' \
            MAKEOBJDIRPREFIX= \
-           DIRPRFX=${_dir}/ -DNO_LINT -DNO_CPU_CFLAGS \
-           MK_CTF=no MK_RETPOLINE=no MK_WERROR=no \
+           DIRPRFX=${_dir}/ \
+           -DNO_LINT \
+           -DNO_CPU_CFLAGS \
+           MK_CTF=no \
+           MK_RETPOLINE=no \
+           MK_WERROR=no \
            ${_t}
 .endfor
 .endfor
diff --git a/targets/pseudo/bootstrap-tools/Makefile 
b/targets/pseudo/bootstrap-tools/Makefile
index 0023f763af83..1a7f2bd15ad0 100644
--- a/targets/pseudo/bootstrap-tools/Makefile
+++ b/targets/pseudo/bootstrap-tools/Makefile
@@ -40,12 +40,23 @@ BSARGS=     DESTDIR= \
                BOOTSTRAPPING=${OSRELDATE} \
                BWPHASE=${.TARGET} \
                SSP_CFLAGS= \
-               MK_HTML=no NO_LINT=yes MK_MAN=no \
-               -DNO_PIC MK_PROFILE=no -DNO_SHARED \
-               -DNO_CPU_CFLAGS MK_WERROR=no MK_CTF=no \
-               MK_CLANG_EXTRAS=no MK_CLANG_FORMAT=no MK_CLANG_FULL=no \
-               MK_LLDB=no MK_TESTS=no \
-               MK_INCLUDES=yes
+               -DNO_CPU_CFLAGS \
+               -DNO_LINT \
+               -DNO_PIC \
+               -DNO_SHARED \
+               MK_CTF=no \
+               MK_CLANG_EXTRAS=no \
+               MK_CLANG_FORMAT=no \
+               MK_CLANG_FULL=no \
+               MK_HTML=no \
+               MK_LLDB=no \
+               MK_MAN=no \
+               MK_PROFILE=no \
+               MK_RETPOLINE=no \
+               MK_TESTS=no \
+               MK_WERROR=no \
+               MK_INCLUDES=yes \
+               MK_MAN_UTILS=yes
 
 # We will handle building the toolchain and cross-compiler.
 BSARGS+= MK_CROSS_COMPILER=no MK_CLANG=no
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to