selftests: Fix installation for splice test

Simplify the Makefile rules so that the test is
automatically installed (and cleaned) by leveraging
the TEST_GEN_PROGS_EXTENDED definition.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:
Daniel Díaz 2017-07-07 11:01:52 -05:00 committed by Shuah Khan
parent a3d6d79f11
commit 5cc3027f00

View file

@ -1,7 +1,4 @@
TEST_PROGS := default_file_splice_read.sh
EXTRA := default_file_splice_read
all: $(TEST_PROGS) $(EXTRA)
TEST_GEN_PROGS_EXTENDED := default_file_splice_read
include ../lib.mk
EXTRA_CLEAN := $(EXTRA)