aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/pca9538/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/pca9538/Makefile.inc')
-rw-r--r--src/drivers/i2c/pca9538/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/i2c/pca9538/Makefile.inc b/src/drivers/i2c/pca9538/Makefile.inc
new file mode 100644
index 0000000000..8b7fa2546e
--- /dev/null
+++ b/src/drivers/i2c/pca9538/Makefile.inc
@@ -0,0 +1,5 @@
+ramstage-$(CONFIG_DRIVERS_I2C_PCA9538) += pca9538.c
+
+ifeq ($(CONFIG_DRIVERS_I2C_PCA9538),y)
+CFLAGS_common += -Isrc/drivers/i2c/pca9538
+endif