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>
master
Masahiro Yamada 10 years ago committed by Tom Rini
parent 021f049597
commit 8e71443211
  1. 2
      examples/standalone/Makefile

@ -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…
Cancel
Save