Re: [PATCH 19/20] block, blksnap: Makefile

From: Christoph Hellwig
Date: Wed Jul 06 2022 - 09:07:02 EST


On Mon, Jun 13, 2022 at 06:53:12PM +0300, Sergei Shtepa wrote:
> +# SPDX-License-Identifier: GPL-2.0
> +KERNEL_MODULE_NAME := blksnap

Just drop this define.

> +obj-m += $(KERNEL_MODULE_NAME).o

and this should be

obj-$(CONFIG_BLK_SNAP) += ..