kbuild: standalone: simplify clean-files

Files added $(extra-) are removed by "make clean".
Besides, wildcard "*.srec *.bin" is simpler.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
Masahiro Yamada 2014-09-05 01:56:52 +09:00 committed by Tom Rini
parent 021f049597
commit 8e71443211

View file

@ -22,7 +22,7 @@ extra-$(CONFIG_PPC) += sched
ELF := $(strip $(extra-y))
extra-y += $(addsuffix .srec,$(extra-y)) $(addsuffix .bin,$(extra-y))
clean-files := $(extra-) $(addsuffix .srec,$(extra-)) $(addsuffix .bin,$(extra-))
clean-files := *.srec *.bin
COBJS := $(ELF:=.o)