Re: how to echo $(KBUILD_CFLAGS)

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

 



On 2015-08-20 12:45, RaphaelWu@xxxxxxxxxxxxxx wrote:
> Hi,
> 
> I have seen this VAR used in some kernel module which also forbid ftrace.
> but I was curious about whenever I echo $(KBUILD_CFLAGS), it's always empty.
> 
> all:
> @echo $(KBUILD_CFLAGS)
> $(MAKE) -C /path-of-kernel/ M=$(PWD) modules

This does not look like a kbuild makefile, so it does not see any
KBUILD_* variables.

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