selftests: lib.mk: kselftest and kselftest-clean fail for make O=dir case
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 7 Sep 2017 00:36:22 +0000 (18:36 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 21 Sep 2017 13:55:36 +0000 (07:55 -0600)
commit8050ef2b83a18f628f9501af958fbff39443d58d
tree6584b2f30756947387528ef80b2b08b0f379ccc9
parent2bc84526d174a2a89c76438f049fc03ac259a159
selftests: lib.mk: kselftest and kselftest-clean fail for make O=dir case

kselftest and kselftest-clean targets fail when object directory is
specified to relocate objects. Main Makefile make O= path clears the
built-in defines LINK.c, COMPILE.S, LINK.S, and RM that are used in
lib.mk to build and clean targets. Define them.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/lib.mk