]> 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)
commitef1c443226b82cd0e4a95345d96e6309f6259447
tree6584b2f30756947387528ef80b2b08b0f379ccc9
parent521c4eff966d40fa8dc4fa4bb40e07302bb870f5
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