> +ifeq ($(CONFIG_EXT4_KUNIT_TESTS),y) > ext4-$(CONFIG_EXT4_KUNIT_TESTS) += inode-test.o > +else > +obj-$(CONFIG_EXT4_KUNIT_TESTS) += ext4-inode-test.o > +ext4-inode-test-objs += inode-test.o > +endif Why not rename it unconditionally?
> +ifeq ($(CONFIG_EXT4_KUNIT_TESTS),y) > ext4-$(CONFIG_EXT4_KUNIT_TESTS) += inode-test.o > +else > +obj-$(CONFIG_EXT4_KUNIT_TESTS) += ext4-inode-test.o > +ext4-inode-test-objs += inode-test.o > +endif Why not rename it unconditionally?