Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "drivers: pinmux: build as static library"
This reverts commit 4330929. Fixes: zephyrproject-rtos#38403 The referred commit introduced `zephyr_library()` for pinmux drivers but also resulting in zephyrproject-rtos#38403 because several boards has `CONFIG_PINMUX=y` without selecting any pinmux drivers from `drivers/pinmux` thus generating the following warning: > No SOURCES given to Zephyr library: drivers__pinmux > > Excluding target from build. This commit reverts the changes so that this warning disappears. This results in pinmux drivers from `drivers/pinmux` to be located in libzephyr.a which is messy, but has been so for a long time, even before Zephyr 1.14 LTS. The future pinctrl API will be designed in such a way that this problem will not occur. Thus the old behavior is acceptable until the transition to pinctrl API has completed. Signed-off-by: Torsten Rasmussen <[email protected]>
- Loading branch information