mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 13:34:30 +00:00
a5cf054d32
This file gets linked into nine different modules, which causes a warning: scripts/Makefile.build:236: drivers/mtd/tests/Makefile: mtd_test.o is added to multiple modules: mtd_nandbiterrs mtd_oobtest mtd_pagetest mtd_readtest mtd_speedtest mtd_stresstest mtd_subpagetest mtd_torturetest Make it a separate module instead. Fixes: a995c792280d ("mtd: tests: rename sources in order to link a helper object") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240529095049.1915393-1-arnd@kernel.org
20 lines
805 B
Makefile
20 lines
805 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_oobtest.o mtd_test.o
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_pagetest.o mtd_test.o
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_readtest.o mtd_test.o
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_speedtest.o mtd_test.o
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_stresstest.o mtd_test.o
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_subpagetest.o mtd_test.o
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_torturetest.o mtd_test.o
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_nandecctest.o mtd_test.o
|
|
obj-$(CONFIG_MTD_TESTS) += mtd_nandbiterrs.o mtd_test.o
|
|
|
|
mtd_oobtest-objs := oobtest.o
|
|
mtd_pagetest-objs := pagetest.o
|
|
mtd_readtest-objs := readtest.o
|
|
mtd_speedtest-objs := speedtest.o
|
|
mtd_stresstest-objs := stresstest.o
|
|
mtd_subpagetest-objs := subpagetest.o
|
|
mtd_torturetest-objs := torturetest.o
|
|
mtd_nandbiterrs-objs := nandbiterrs.o
|