]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: don't always build constants.o
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Jul 2022 05:07:26 +0000 (07:07 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:48 +0000 (17:22 -0600)
commit0d6f4b777bb32a0c5830d93b19ff8bb705eb952d
treeb42709c131a2d12f365ef68260a4170958a7b69e
parent693290b0b835f9bbd11b38e4fcb5f4e669b88265
nvme: don't always build constants.o

The entire content of constants.c if guarded by an ifdef, so switch to
just building the file conditionally instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/Makefile
drivers/nvme/host/constants.c