Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2023 00:40:38 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0b4568e36fa6 - main - src.opts.mk: Decouple MK_INCLUDES from MK_TOOLCHAIN
Message-ID:  <202305020040.3420ecFM006253@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=0b4568e36fa622d406008e7f482821f603fedd6d

commit 0b4568e36fa622d406008e7f482821f603fedd6d
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-05-01 20:58:42 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-05-02 00:33:08 +0000

    src.opts.mk: Decouple MK_INCLUDES from MK_TOOLCHAIN
    
    Prior to 590461a4b89b installation of include files was controlled
    directly by ${MK_TOOLCHAIN}.  590461a4b89b added an INCLUDES knob
    defaulting to YES.  Setting WITHOUT_TOOLCHAIN forced it off to retain
    existing behaviour.
    
    Decouple them now, as there are reasonable use cases for installing
    libraries and include files without a compiler or other tool chain
    components.
    
    Reviewed by:    imp, jrtc27
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D39918
---
 share/mk/src.opts.mk                  | 1 -
 tools/build/options/WITHOUT_TOOLCHAIN | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 0bbb2dd6c539..c61ce50a7c4e 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -459,7 +459,6 @@ MK_LLD_BOOTSTRAP:= no
 
 .if ${MK_TOOLCHAIN} == "no"
 MK_CLANG:=	no
-MK_INCLUDES:=	no
 MK_LLD:=	no
 MK_LLDB:=	no
 MK_LLVM_BINUTILS:=	no
diff --git a/tools/build/options/WITHOUT_TOOLCHAIN b/tools/build/options/WITHOUT_TOOLCHAIN
index 57deb32a51f7..9568c0affa4f 100644
--- a/tools/build/options/WITHOUT_TOOLCHAIN
+++ b/tools/build/options/WITHOUT_TOOLCHAIN
@@ -1,4 +1,4 @@
 .\" $FreeBSD$
-Do not install header or
+Do not install
 programs used for program development,
 compilers, debuggers etc.



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