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:
parent
021f049597
commit
8e71443211
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user