]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
kbuild: standalone: simplify clean-files
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 4 Sep 2014 16:56:52 +0000 (01:56 +0900)
committerTom Rini <trini@ti.com>
Tue, 16 Sep 2014 16:23:59 +0000 (12:23 -0400)
Files added $(extra-) are removed by "make clean".
Besides, wildcard "*.srec *.bin" is simpler.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
examples/standalone/Makefile

index 2dacba2ebae4aec70521a5c7f8bd18f01e84670c..0863a8cda205b14d54584d73f22cf3ee8de15e72 100644 (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)