diff options
author | Shuah Khan <skhan@linuxfoundation.org> | 2021-09-17 15:53:56 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-19 13:22:18 +0100 |
commit | e30cd812dffadc58241ae378e48728e6a161becd (patch) | |
tree | 92750119164d70215112836fe982e620a7f32f6c /net/core/dev.c | |
parent | 72a3c58d18fd780eecd80178bb2132ce741a0a74 (diff) | |
download | linux-e30cd812dffadc58241ae378e48728e6a161becd.tar.gz |
selftests: net: af_unix: Fix makefile to use TEST_GEN_PROGS
Makefile uses TEST_PROGS instead of TEST_GEN_PROGS to define
executables. TEST_PROGS is for shell scripts that need to be
installed and run by the common lib.mk framework. The common
framework doesn't touch TEST_PROGS when it does build and clean.
As a result "make kselftest-clean" and "make clean" fail to remove
executables. Run and install work because the common framework runs
and installs TEST_PROGS. Build works because the Makefile defines
"all" rule which is unnecessary if TEST_GEN_PROGS is used.
Use TEST_GEN_PROGS so the common framework can handle build/run/
install/clean properly.
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions