Skip to content

Commit

Permalink
kbuild: standalone: simplify clean-files
Browse files Browse the repository at this point in the history
Files added $(extra-) are removed by "make clean".
Besides, wildcard "*.srec *.bin" is simpler.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
  • Loading branch information
masahir0y authored and trini committed Sep 16, 2014
1 parent 021f049 commit 8e71443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/standalone/Makefile
Expand Up @@ -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)

Expand Down

0 comments on commit 8e71443

Please sign in to comment.