Skip to content

Commit

Permalink
boards: cxd56xx: Fix CMakeLists.txt
Browse files Browse the repository at this point in the history
Fix CMakeLists.txt to match Make.defs.
  • Loading branch information
SPRESENSE committed Dec 4, 2024
1 parent b106a23 commit 9ac1714
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 6 additions & 2 deletions boards/arm/cxd56xx/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ if(CONFIG_ARCH_BOARD_COMMON)
list(APPEND SRCS src/cxd56_audio.c)
endif()

if(CONFIG_MODEM_ALTMDM)
list(APPEND SRCS src/cxd56_altmdm.c)
if(CONFIG_MODEM_ALT1250)
list(APPEND SRCS src/cxd56_alt1250.c)
endif()

if(CONFIG_BOARDCTL_UNIQUEID)
Expand Down Expand Up @@ -183,6 +183,10 @@ if(CONFIG_ARCH_BOARD_COMMON)
list(APPEND SRCS src/cxd56_usbdevserialstr.c)
endif()

if(CONFIG_PM)
list(APPEND SRCS src/cxd56_pm.c)
endif()

if(CONFIG_CXD56_GNSS_ADDON)
list(APPEND SRCS src/cxd56_gnss_addon.c)
endif()
Expand Down
4 changes: 1 addition & 3 deletions boards/arm/cxd56xx/spresense/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ if(CONFIG_ARCH_BUTTONS)
list(APPEND SRCS cxd56_buttons.c)
endif()

if(CONFIG_CXD56_GPIO_IRQ)
list(APPEND SRCS cxd56_gpioif.c)
endif()
list(APPEND SRCS cxd56_gpioif.c)

if(CONFIG_CXD56_PWM)
list(APPEND SRCS cxd56_pwm.c)
Expand Down

0 comments on commit 9ac1714

Please sign in to comment.