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

From: Steven Rostedt
Date: Sun Jun 28 2020 - 15:08:01 EST


On Sun, 28 Jun 2020 10:50:41 +0900
Masahiro Yamada <masahiroy@xxxxxxxxxx> 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@xxxxxxxxxx>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---

Nice feature!

Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve