selftests: enforce local header dependency in lib.mk
authorShuah Khan <skhan@linuxfoundation.org>
Wed, 25 Mar 2020 23:16:49 +0000 (17:16 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 26 Mar 2020 21:29:55 +0000 (15:29 -0600)
commit1056d3d2c97e47397d0037cbbdf24235ae8f88cb
treeac71c6ab6e07b64f130f06a8f668e457ab6c2435
parentd3fd949abd3e3005dab7ccb185c3c8bc0ad639f1
selftests: enforce local header dependency in lib.mk

Add local header dependency in lib.mk. This enforces the dependency
blindly even when a test doesn't include the file, with the benefit
of a simpler common logic without requiring individual tests to have
special rule for it.

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/lib.mk