OSDN Git Service

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>
Mon, 18 Oct 2021 12:17:35 +0000 (06:17 -0600)
commit4c928904ff771a8e830773b71a080047365324a5
tree99e85336264f2a44816b770b82530015a2edd1d9
parentb8b98a6225c9140ff5c2b3dce99a70ffba98e6d3
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