Commit 6e81461b authored by Shuah Khan's avatar Shuah Khan

selftests/ptp: Remove clean target from Makefile

Fix the following build warn removing unnecessary clean target
from the Makefile. lib.mk handles clean.

Makefile:10: warning: overriding recipe for target clean
../lib.mk:124: warning: ignoring old recipe for target clean

In addition, fix to use TEST_GEN_PROGS for generated test executables
and TES_PROGS for the shell script. Ger rid of all target as lib.mk
handles it.
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 9e34fad0
# SPDX-License-Identifier: GPL-2.0
CFLAGS += $(KHDR_INCLUDES)
TEST_PROGS := testptp
TEST_GEN_PROGS := testptp
LDLIBS += -lrt
all: $(TEST_PROGS)
TEST_PROGS = phc.sh
include ../lib.mk
clean:
rm -fr $(TEST_PROGS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment