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:
parent
21d2cc741f
commit
bfc51d6a87
2 changed files with 2 additions and 8 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue