Linux-5.9: Remove CC_FLAGS_USING via asflags-remove

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

 



Hi,

I wanted to get rid of CC_FLAGS_USING in lib/Makefile:

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

...it makes no sense to me to remove CC_FLAGS_FTRACE and not CC_FLAGS_USING.

ccflags-remove-y (here: CONFIG_FUNCTION_TRACER=y) seems  to work but
*not* asflags-remove-y.

Am I missing something?
It is getting overridden?

Documentation/kbuild/makefiles.rst says:
"...AFLAGS_$@ has the higher priority than asflags-remove..."

How can I check if there is another AFLAGS_XXX interfering?

I see -DCC_XXX in...

lib/.crc-t10dif.mod.o.cmd
lib/.crc-t10dif.o.cmd

I want to remove all -DCC_XXX assembler-options derived from lib/Makefile.

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