Re: [PATCH v2] watchdog: Compile possible drivers with COMPILE_TEST

From: Guenter Roeck
Date: Wed Oct 14 2015 - 18:40:46 EST


On 10/14/2015 03:11 PM, Luis de Bethencourt wrote:
On 14/10/15 22:35, Guenter Roeck wrote:
On 10/14/2015 11:55 AM, Luis de Bethencourt wrote:
These drivers have depends that aren't build dependencies, so it's
a good idea to allow these drivers to always be built when the
COMPILE_TEST option is enabled.

That way, the drivers can be built with a config generated by make
allyesconfig and check if a patch would break the build.

Signed-off-by: Luis de Bethencourt <luisbg@xxxxxxxxxxxxxxx>

What architectures have you actually tested this for ?

Guenter


I've compiled it in x86 and then I tried ARM
(with CROSS_COMPILE="ccache arm-linux-gnueabihf-" ARCH=arm)

But ARM kept failing due to other drivers, first Lustre then an Ethernet
driver (I40E), and more.

arm:allmodconfig should build fine. Either case, you can always run "make -i"
to ignore errors, to ensure that you at least don't introduce new problems.

Is there a better way of doing this?

Sure, at least run allmodconfig for _all_ architectures, or at least
for the major architectures.

Guenter

--
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/