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 -
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 -