mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
coremark/Makefile: avoid crc function multiple definition
/data/project/oh2/rel-4.0/prebuilts/gcc/linux/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: crc16_sw.c.data.project.oh2.rel-4.0.external.zblue.zblue_1.o (symbol from plugin): in function `crc16': (.text+0x0): multiple definition of `crc16'; core_util.c.data.project.oh2.rel-4.0.apps.benchmarks.coremark_1.o (symbol from plugin):(.text+0x0): first defined here Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
parent
6ea8f70ca8
commit
d0a6dd40c4
1 changed files with 5 additions and 0 deletions
|
|
@ -85,6 +85,11 @@ else
|
|||
CFLAGS += ${DEFINE_PREFIX}ITERATIONS=0
|
||||
endif
|
||||
|
||||
CFLAGS += ${DEFINE_PREFIX}crcu8=coremark_crcu8
|
||||
CFLAGS += ${DEFINE_PREFIX}crcu16=coremark_crcu16
|
||||
CFLAGS += ${DEFINE_PREFIX}crcu32=coremark_crcu32
|
||||
CFLAGS += ${DEFINE_PREFIX}crc16=coremark_crc16
|
||||
|
||||
CSRCS += core_list_join.c
|
||||
CSRCS += core_matrix.c
|
||||
CSRCS += core_state.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue