revert moving the mcp23017 driver into its own folder

This commit is contained in:
zhiayang 2022-06-04 16:38:57 +08:00
parent 1bba0904c9
commit bda838e427
No known key found for this signature in database
GPG key ID: 5E2F30AD6F08571F
6 changed files with 6 additions and 12 deletions

View file

@ -1,5 +1,8 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT
add_subdirectory_ifdef(CONFIG_GPIO_MCP23017 mcp23017)
add_subdirectory_ifdef(CONFIG_GPIO_MAX7318 max7318)
zephyr_library_named(zmk__drivers__gpio)
zephyr_library_include_directories(${CMAKE_SOURCE_DIR}/include)
zephyr_library_sources_ifdef(CONFIG_GPIO_MCP23017 gpio_mcp23017.c)
zephyr_library_sources_ifndef(CONFIG_GPIO_MCP23017 ${ZEPHYR_BASE}/misc/empty_file.c)

View file

@ -1,2 +1 @@
rsource "mcp23017/Kconfig"
rsource "max7318/Kconfig"
rsource "Kconfig.mcp23017"

View file

@ -1,8 +0,0 @@
# Copyright (c) 2020 The ZMK Contributors
# SPDX-License-Identifier: MIT
zephyr_library_named(zmk__drivers__gpio)
zephyr_library_include_directories(${CMAKE_SOURCE_DIR}/include)
zephyr_library_sources_ifdef(CONFIG_GPIO_MCP23017 gpio_mcp23017.c)
zephyr_library_sources_ifndef(CONFIG_GPIO_MCP23017 ${ZEPHYR_BASE}/misc/empty_file.c)