25 lines
1021 B
Makefile
25 lines
1021 B
Makefile
ifeq ($(CONFIG_EC_GOOGLE_CHROMEEC),y)
|
|
|
|
ramstage-y += ec.c crosec_proto.c
|
|
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C) += ec_i2c.c
|
|
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c
|
|
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_MEC) += ec_mec.c
|
|
ramstage-$(CONFIG_EC_GOOGLE_CHROMEEC_SPI) += ec_spi.c
|
|
smm-y += ec.c crosec_proto.c
|
|
smm-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C) += ec_i2c.c
|
|
smm-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c
|
|
smm-$(CONFIG_EC_GOOGLE_CHROMEEC_MEC) += ec_mec.c
|
|
smm-$(CONFIG_EC_GOOGLE_CHROMEEC_SPI) += ec_spi.c
|
|
romstage-y += ec.c crosec_proto.c
|
|
romstage-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C) += ec_i2c.c
|
|
romstage-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c
|
|
romstage-$(CONFIG_EC_GOOGLE_CHROMEEC_MEC) += ec_mec.c
|
|
romstage-$(CONFIG_EC_GOOGLE_CHROMEEC_SPI) += ec_spi.c
|
|
verstage-y += ec.c crosec_proto.c
|
|
verstage-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C) += ec_i2c.c
|
|
verstage-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c
|
|
verstage-$(CONFIG_EC_GOOGLE_CHROMEEC_MEC) += ec_mec.c
|
|
verstage-$(CONFIG_EC_GOOGLE_CHROMEEC_SPI) += ec_spi.c
|
|
|
|
endif
|