Re: how to echo $(KBUILD_CFLAGS)

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

 



On 2015-08-20 04:03, RaphaelWu@xxxxxxxxxxxxxx wrote:
> Hi,
>         Recently I wrote a test module, within my module I need remove -pg flag
> which is defined by host Makefile (which enable -pg, ftrace function).
>         I used a trick in my module makefile KBUILD_CFLAGS := $(subst -pg,,$(KBUILD_CFLAGS)),

You are probably looking for CLFAGS_REMOVE_<file.o>.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux