From: Kent Overstreet <kent.overstreet@linux.dev>
To: Masahiro Yamada <masahiroy@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Nathan Chancellor <nathan@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Subject: Specifying CFLAGS for a directory on the command line
Date: Fri, 9 Jun 2023 18:23:14 -0400 [thread overview]
Message-ID: <ZIOmUkXlegycIExQ@moria.home.lan> (raw)
Hello kbuild maintainers & list,
Years ago I used to be able to specify additional CFLAGS for a specific
subdirectory on the command line, which I used for enabling gcov
profiling without editing the subdirectory makefile, like so:
make GCOV_PROFILE_fs_bcachefs=y
But this stopped working ages ago, I believe in the 3.x era. Does anyone
know if there's a more modern way to do this?
Cheers,
Kent
next reply other threads:[~2023-06-09 22:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-09 22:23 Kent Overstreet [this message]
2023-06-09 23:11 ` Specifying CFLAGS for a directory on the command line Nick Desaulniers
2023-06-09 23:12 ` Nick Desaulniers
2023-06-09 23:36 ` Kent Overstreet
2023-06-12 16:18 ` Peter Oberparleiter
2023-06-13 18:22 ` Kent Overstreet
2023-06-15 9:54 ` Peter Oberparleiter
2023-06-15 10:39 ` Masahiro Yamada
2023-06-15 14:22 ` Kent Overstreet
2023-06-16 16:45 ` Peter Oberparleiter
2023-06-16 17:00 ` Kent Overstreet
2023-06-16 6:37 ` Kent Overstreet
2023-06-16 18:10 ` Peter Oberparleiter
2023-06-17 0:28 ` Kent Overstreet
2023-06-21 8:54 ` Peter Oberparleiter
2023-06-22 10:35 ` Kent Overstreet
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=ZIOmUkXlegycIExQ@moria.home.lan \
--to=kent.overstreet@linux.dev \
--cc=linux-kbuild@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.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