Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru authored Jan 27, 2024
1 parent 8b130ae commit b22075a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ set(USB_DRIVER
)
endif()

set(GIC_DRIVER "")
if (CONFIG_CHIP_GIC)
set(GIC_DRIVER
sys-gic.c
)
endif()

if (CONFIG_CHIP_WITHPMU)
set(DRIVER_PMU
pmu/axp1530.c
Expand All @@ -49,9 +56,9 @@ if (NOT CONFIG_CHIP_CLK_V1)
sys-sdcard.c
sys-dma.c
sys-i2c.c
sys-gic.c

${USB_DRIVER}
${GIC_DRIVER}
)
endif()

Expand Down

0 comments on commit b22075a

Please sign in to comment.