]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc48a3c26aa8d057524684c76ea83475646382853
tree6584b2f30756947387528ef80b2b08b0f379ccc9
parentd0cac972c8cd598ba9f5908eb3ccc046d457f1dd
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