[RFD] How to support KBUILD_OUTPUT for kselftest?

From: Bamvor Jian Zhang
Date: Wed Dec 30 2015 - 22:13:31 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/