Re: Linux-5.9: Remove CC_FLAGS_USING via asflags-remove

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

 



Both work.

[ lib/Makefile ]

ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)

#1:
ccflags-remove-$(CONFIG_FUNCTION_TRACER) += -DCC_USING_NOP_MCOUNT

#2:
KBUILD_CFLAGS := $(filter-out -DCC_USING_NOP_MCOUNT, $(KBUILD_CFLAGS))

- Sedat -



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

  Powered by Linux