From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <519c813b-0bf1-636b-df90-890e07d2ea4d@collabora.com> Date: Mon, 27 Jun 2022 12:06:36 +0500 MIME-Version: 1.0 Subject: Re: [Bug Report] - kselftest build fails if output directory is first level sub-directory References: From: "Usama" In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-ID: To: Shuah Khan , Masahiro Yamada Cc: usama.anjum@collabora.com, Michal Marek , Nick Desaulniers , Shuah Khan , KERNEL SELFTEST FRAMEWORK , Linux Kbuild mailing list , LKML , "kernelci@groups.io" >> This problem starts from the bad design of the kselftest framework. >> I did some research before. I think I can fix the root cause but >> currently I do not have enough time to do it. >> >> >> KBUILD_ABS_SRCTREE is a user-interface to request >> Kbuild to use the absolute path. >> If it is forced in the top Makefile, users have no way to >> negate it. >> It is true that using the absolute path is a quick work-around >> because you do not need to care about the current working directory. >> >> If you insist on it,=C2=A0 just go ahead.=C2=A0 It is just two line chan= ges. >> Once the issue is fixed in a better way, your patch can be reverted >> easily. >> > Why don't we work on fixing it the wright way? I would rather go that > route than using short rem fixes. >=20 > Usama, would you be interested in working on a proper fix as recommended > by Masahiro? I've made another attempt: https://lore.kernel.org/lkml/20220627070214.432390-1-usama.anjum@collabora.= com/ >=20 > thanks, > -- Shuah --=20 Muhammad Usama Anjum