]> www.infradead.org Git - users/hch/block.git/commit
block: move CONFIG_BLOCK guard to top Makefile
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 27 Sep 2021 14:00:00 +0000 (23:00 +0900)
committerJens Axboe <axboe@kernel.dk>
Sat, 16 Oct 2021 22:10:29 +0000 (16:10 -0600)
commit782b51ee1f9915942809dea14e7881489cf3ff10
tree5c21ba36c5a56d8424363ed590ab4341217d4145
parent9b95c675b440156da5b99194e47755728362f4b6
block: move CONFIG_BLOCK guard to top Makefile

Every object under block/ depends on CONFIG_BLOCK.

Move the guard to the top Makefile since there is no point to
descend into block/ if CONFIG_BLOCK=n.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210927140000.866249-5-masahiroy@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile
block/Makefile