public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFD] How to support KBUILD_OUTPUT for kselftest?
@ 2015-12-31  3:13 Bamvor Jian Zhang
  2016-01-26 19:47 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Bamvor Jian Zhang @ 2015-12-31  3:13 UTC (permalink / raw)
  To: lkml, linux-api
  Cc: Michael Ellerman, Mark Brown, Kevin Hilman, Shuah Khan,
	Tyler Baker, dvhart, Bamvor Zhang Jian

Hi,

I am trying to improve cross compiling support for kselftest recently. Right
now I am stuck when I want to enable KBUILD_OUTPUT(O=xxx). It exist in wiki of
kselftest[1]. Hope it is not a duplicated work.

It seems that only perf tools(tools/perf) support it. And I could know that the
following Makefile are called when building perf:
tools/Makefile
tools/perf/Makefile
tools/perf/Makefile.perf
tools/build/Makefile.build

But I could not get the idea that how to do it for kselftest. Is there any
existed infrastructure I could use?

I am appreciated if there is any suggestions or ideas. Thanks in advance.

Regards

Bamvor

[1] https://kselftest.wiki.kernel.org/support_cross-compilation


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFD] How to support KBUILD_OUTPUT for kselftest?
  2015-12-31  3:13 [RFD] How to support KBUILD_OUTPUT for kselftest? Bamvor Jian Zhang
@ 2016-01-26 19:47 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2016-01-26 19:47 UTC (permalink / raw)
  To: Bamvor Jian Zhang
  Cc: lkml, linux-api, Michael Ellerman, Mark Brown, Shuah Khan,
	Tyler Baker, dvhart

Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> writes:

> I am trying to improve cross compiling support for kselftest recently. Right
> now I am stuck when I want to enable KBUILD_OUTPUT(O=xxx). It exist in wiki of
> kselftest[1]. Hope it is not a duplicated work.

Just want to echo the need for this feature because trying to build
kselftests for a kernel built with KBUILD_OUTPUT is broken due to
hard-coded assumptions about paths to headers, etc.

I haven't dug any deeper into how to fix it though...

Kevin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-26 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-31  3:13 [RFD] How to support KBUILD_OUTPUT for kselftest? Bamvor Jian Zhang
2016-01-26 19:47 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox