[PATCH] kbuild: introduce ccflags-remove-y and asflags-remove-y

Steven Rostedt rostedt at goodmis.org
Sun Jun 28 15:07:55 EDT 2020

On Sun, 28 Jun 2020 10:50:41 +0900
Masahiro Yamada <masahiroy at kernel.org> wrote:

> CFLAGS_REMOVE_<file>.o works per object, that is, there is no
> convenient way to filter out flags for every object in a directory.
> Add ccflags-remove-y and asflags-remove-y to make it easily.
> Use ccflags-remove-y to clean up some Makefiles.
> Suggested-by: Sami Tolvanen <samitolvanen at google.com>
> Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>
> ---

Nice feature!

Acked-by: Steven Rostedt (VMware) <rostedt at goodmis.org>

-- Steve

More information about the linux-arm-kernel mailing list