selftests: Add and export a kernel uapi headers path
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Wed, 19 Jan 2022 10:15:23 +0000 (15:15 +0500)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 24 Feb 2022 00:20:22 +0000 (17:20 -0700)
commit250f8c1137578e6210becaed63ec6e9a8eea430e
tree1c6160834f62d92f8174db9f19e705ebc6760303
parent5ad51ab618de5d05f4e692ebabeb6fe6289aaa57
selftests: Add and export a kernel uapi headers path

Kernel uapi headers can be present at different paths depending upon
how the build was invoked. It becomes impossible for the tests to
include the correct headers directory. Set and export KHDR_INCLUDES
variable to make it possible for sub make files to include the header
files.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/Makefile