Skip to content

Commit 6e81461

Browse files
committed
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: Shuah Khan <[email protected]>
1 parent 9e34fad commit 6e81461

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

tools/testing/selftests/ptp/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
CFLAGS += $(KHDR_INCLUDES)
3-
TEST_PROGS := testptp
3+
TEST_GEN_PROGS := testptp
44
LDLIBS += -lrt
5-
all: $(TEST_PROGS)
5+
TEST_PROGS = phc.sh
66

77
include ../lib.mk
8-
9-
clean:
10-
rm -fr $(TEST_PROGS)

0 commit comments

Comments
 (0)