Re: Specifying CFLAGS for a directory on the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 9, 2023 at 4:11 PM Nick Desaulniers <ndesaulniers@xxxxxxxxxx> wrote:
>
> On Fri, Jun 9, 2023 at 3:23 PM Kent Overstreet
> <kent.overstreet@xxxxxxxxx> wrote:
> >
> > Hello kbuild maintainers & list,
> >
> > Years ago I used to be able to specify additional CFLAGS for a specific
>
> Probably cause it's KCFLAGS ;)
>
> I used this yesterday, it works.
>
> > subdirectory on the command line, which I used for enabling gcov

Ah, for a specific subdir? No I've not seen that, at least from the
command line.  Such flags can be specified via Makefile
`subdir-ccflags-y`.

> > 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
>
>
>
> --
> Thanks,
> ~Nick Desaulniers



-- 
Thanks,
~Nick Desaulniers




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux