boards: cxd56xx: Fix duplicate make target

Remove a build warning by target 'cxd56_audio.o' given more than once
in the same rule.
This commit is contained in:
SPRESENSE 2023-08-05 14:21:55 +09:00 committed by Alin Jerpelea
parent 21d2cc741f
commit bfc51d6a87
2 changed files with 2 additions and 8 deletions

View file

@ -23,11 +23,7 @@ if(CONFIG_ARCH_BOARD_COMMON)
list(APPEND SRCS src/cxd56_boot.c)
if(CONFIG_AUDIO_CXD56)
list(APPEND SRCS src/cxd56_audio.c)
endif()
if(CONFIG_CXD56_AUDIO)
if(CONFIG_AUDIO_CXD56 OR CONFIG_CXD56_AUDIO)
list(APPEND SRCS src/cxd56_audio.c)
endif()

View file

@ -24,9 +24,7 @@ CSRCS += cxd56_boot.c
ifeq ($(CONFIG_AUDIO_CXD56),y)
CSRCS += cxd56_audio.c
endif
ifeq ($(CONFIG_CXD56_AUDIO),y)
else ifeq ($(CONFIG_CXD56_AUDIO),y)
CSRCS += cxd56_audio.c
endif