drivers: i2c: slave: group into i2c static library

This changes the build command so the I2C EEPROM slave
is being grouped into the I2C static library.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-08-04 11:58:17 -07:00 committed by Christopher Friedt
parent 9cef5d5981
commit 2fccd97f0c

View File

@ -1,3 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(CONFIG_I2C_EEPROM_SLAVE eeprom_slave.c)
zephyr_library_sources_ifdef(CONFIG_I2C_EEPROM_SLAVE eeprom_slave.c)