]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
selftests/vm: fix out-of-tree build
authorRong Chen <rong.a.chen@intel.com>
Thu, 25 Mar 2021 04:37:26 +0000 (21:37 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:53:14 +0000 (09:53 +0200)
commitd8f04cd69c500aca6fc9ae0a2a60488da172ba72
tree7322c138483b9f82300c7b910d6b44b8e7dbddb6
parent7b3394559e9dd9a3fd1c04eb180a1bee8ad7d9cd
selftests/vm: fix out-of-tree build

BugLink: https://bugs.launchpad.net/bugs/1923415
[ Upstream commit 19ec368cbc7ee1915e78c120b7a49c7f14734192 ]

When building out-of-tree, attempting to make target from $(OUTPUT) directory:

  make[1]: *** No rule to make target '$(OUTPUT)/protection_keys.c', needed by '$(OUTPUT)/protection_keys_32'.

Link: https://lkml.kernel.org/r/20210315094700.522753-1-rong.a.chen@intel.com
Signed-off-by: Rong Chen <rong.a.chen@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
tools/testing/selftests/vm/Makefile