This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 07bbbd541 testing: Fix cmocka_driver_block give more than once
07bbbd541 is described below
commit 07bbbd541c7c0428baf5bc2421c00d4b6fc6cdbd
Author: Huang Qi <[email protected]>
AuthorDate: Wed Nov 8 16:02:51 2023 +0800
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 <[email protected]>
---
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