From: Eugene Loh <eugene.loh@oracle.com>
To: Kris Van Hees <kris.van.hees@oracle.com>,
dtrace@lists.linux.dev, dtrace-devel@oss.oracle.com
Subject: Re: [PATCH v2] configure: add support for --(disable|enable)-dependency-tracking
Date: Thu, 19 Feb 2026 13:17:21 -0500 [thread overview]
Message-ID: <39f1eb11-7a01-b68b-61d3-18aef49394d2@oracle.com> (raw)
In-Reply-To: <DS0PR10MB752215A59CAA79B00AB329F6C26BA@DS0PR10MB7522.namprd10.prod.outlook.com>
Reviewed-by: Eugene Loh <eugene.loh@oracle.com>
On 2/19/26 10:56, Kris Van Hees wrote:
> Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
> ---
> Makefunctions | 2 ++
> configure | 5 +++++
> 2 files changed, 7 insertions(+)
>
> diff --git a/Makefunctions b/Makefunctions
> index 15836dc3..1f308967 100644
> --- a/Makefunctions
> +++ b/Makefunctions
> @@ -52,7 +52,9 @@ endef
> # Rule to build a C source file.
> # Syntax: $(call cc-template,primary,filename-without-dir,optional flags)
>
> +ifndef WITHOUT_DEPENDENCIES
> cc-dependencies = -MP -MMD -MF $(obj-name).deps -MT $(obj-name)
> +endif
>
> define cc-template
> $(obj-name): $(src-name) $(foreach dep,$($(1)_SRCDEPS),$(call src-name,$(1),$(dep))) $(foreach prov,$($(1)_PROV),$(call hdr-name,$(1),$(prov))) $(CONFIG_H)
> diff --git a/configure b/configure
> index 04c28369..a3107fd0 100755
> --- a/configure
> +++ b/configure
> @@ -99,6 +99,9 @@ EOF
> echo >&2
> make help-overrides
> cat >&2 <<'EOF'
> +Optional features:
> +
> +--disable-dependency-tracking Suppress automatic dependency tracking
>
> Options controlling the compiler (pass on the command line):
>
> @@ -172,6 +175,8 @@ for option in "$@"; do
> HAVE_VALGRIND=*) write_config_var VALGRIND "$option";;
> HAVE_BPFV3=*) write_config_var BPFV3 "$option";;
> HAVE_BPFMASM=*) write_config_var BPFMASM "$option";;
> + --disable-dependency-tracking) write_make_var WITHOUT_DEPENDENCIES "y";;
> + --enable-dependency-tracking) write_make_var WITHOUT_DEPENDENCIES "n";;
> *) echo "Unknown option $option" >&2
> exit 1;;
> esac
prev parent reply other threads:[~2026-02-19 18:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 15:56 [PATCH v2] configure: add support for --(disable|enable)-dependency-tracking Kris Van Hees
2026-02-19 18:17 ` Eugene Loh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39f1eb11-7a01-b68b-61d3-18aef49394d2@oracle.com \
--to=eugene.loh@oracle.com \
--cc=dtrace-devel@oss.oracle.com \
--cc=dtrace@lists.linux.dev \
--cc=kris.van.hees@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox