Re: [PATCH] samples: build configfs sample on when enabled

From: Christoph Hellwig
Date: Mon Oct 12 2015 - 10:21:03 EST


On Mon, Oct 12, 2015 at 04:14:16PM +0200, Arnd Bergmann wrote:
> Most samples have their own Kconfig option, but for some reason
> the configfs sample does not have one and gets built unconditionally
> when CONFIG_SAMPLES is enabled, which fails if CONFIG_CONFIGFS_FS
> is not:
>
> ERROR: "configfs_unregister_subsystem" [samples/configfs/configfs_sample.ko] undefined!
> ERROR: "configfs_register_subsystem" [samples/configfs/configfs_sample.ko] undefined!
>
> This adds a new Kconfig symbol to mirror the existing method and
> only let the user enable this sample if configfs is present.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

This should already be in version two of the series I sent last week.
--
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/