Skip to content

Commit

Permalink
testing: Fix cmocka_driver_block give more than once
Browse files Browse the repository at this point in the history
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 <huangqi3@xiaomi.com>
  • Loading branch information
no1wudi authored and xiaoxiang781216 committed Nov 9, 2023
1 parent 6798294 commit 07bbbd5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions testing/drivertest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07bbbd5

Please sign in to comment.