From 07bbbd541c7c0428baf5bc2421c00d4b6fc6cdbd Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Wed, 8 Nov 2023 16:02:51 +0800 Subject: [PATCH] testing: Fix cmocka_driver_block give more than once Fix: ``` /home/huang/Work/vela/sifli/apps/Application.mk:273: target 'drivertest_block.c.home.huang.Work.vela.sifli.apps.testing.drivertest.o' given more than once in the same rule /home/huang/Work/vela/sifli/apps/Application.mk:297: target '/home/huang/Work/vela/sifli/apps/builtin/registry/cmocka_driver_block.bdat' given more than once in the same rule CC: romfs_main.c /home/huang/Work/vela/sifli/apps/Application.mk:273: target 'drivertest_block.c.home.huang.Work.vela.sifli.apps.testing.drivertest.o' given more than once in the same rule /home/huang/Work/vela/sifli/apps/Application.mk:297: target '/home/huang/Work/vela/sifli/apps/builtin/registry/cmocka_driver_block.bdat' given more than once in the same rule ``` Signed-off-by: Huang Qi --- testing/drivertest/Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/testing/drivertest/Makefile b/testing/drivertest/Makefile index 6c3ba4b76..f5485ef11 100644 --- a/testing/drivertest/Makefile +++ b/testing/drivertest/Makefile @@ -88,11 +88,6 @@ PROGNAME += cmocka_driver_i2c_spi endif endif -ifneq ($(CONFIG_BCH),) -PROGNAME += cmocka_driver_block -MAINSRC += drivertest_block.c -endif - ifneq ($(CONFIG_DEV_GPIO),) PROGNAME += cmocka_driver_gpio MAINSRC += drivertest_gpio.c