summaryrefslogtreecommitdiff
path: root/examples/standalone
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-09-04 16:56:52 (GMT)
committerTom Rini <trini@ti.com>2014-09-16 16:23:59 (GMT)
commit8e714432118c24b568c70a66cc9476f2502b4c4d (patch)
tree43ca7ac80fc474eb99f3a3e4f5ebfbe80f990855 /examples/standalone
parent021f0495979317e26b2cf582cf2b765008390bcd (diff)
downloadu-boot-8e714432118c24b568c70a66cc9476f2502b4c4d.tar.xz
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>
Diffstat (limited to 'examples/standalone')
-rw-r--r--examples/standalone/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
index 2dacba2..0863a8c 100644
--- a/examples/standalone/Makefile
+++ b/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)