mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user