kbuild: add AFLAGS_REMOVE_(basename).o option
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 5 Nov 2015 13:03:27 +0000 (14:03 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 18 Dec 2015 13:59:25 +0000 (14:59 +0100)
commita7e137eb94b6abd180050cf0b42e8b3db7efbf5f
tree2616cd490eabf2787956dbc8e5ed01c4556b16de
parentf3d05f9de75e233d8f1090af91fc6c23ddc600e8
kbuild: add AFLAGS_REMOVE_(basename).o option

It is already possible to remove CFLAGS with the CFLAGS_REMOVE option
that was introduced with commit 656ee82cc855 ("kbuild: create new
CFLAGS_REMOVE_(basename).o option").  However it is not possible to
remove AFLAGS for assembler files.

So this patch just adds the AFLAGS_REMOVE option which works the same
like CFLAGS_REMOVE.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
scripts/Makefile.lib