Hi, shuah! >>>>> On Tue, 26 May 2020 11:13:29 -0600, shuah wrote: > On 5/25/20 7:55 AM, Yauheni Kaliuta wrote: >> Hi! >> >> I'm wondering how out of tree check is supposed to work for make >> O=dir run_tests from selftests (or make -C ...) directory? >> >> (both with 051f278e9d81 ("kbuild: replace KBUILD_SRCTREE with >> boolean building_out_of_srctree") and without) >> >> make M= ... does not work with run_tests. >> > Kselftests run_tests target isn't intended for building and > running tests OOT. But there is code there trying to handle it. All that OUTPUT related things must be removed if it's broken, right? Can I post a patch? > Also make M= doesn't make sense for them. Well, M=... at least includes all the makefiles. > There is no support to build OOT at the moment. I would like > to get a better understanding of your use-case. Can you > elaborate? I care about make install actually. But fixing it I had to deal with OUTPUT. Looking a proper for that I found that it's a bit broken. -- WBR, Yauheni Kaliuta