Adding back support for updating i2c config params
[keystone-rtos/ibl.git] / src / make / makestg2
index e70017391fd4a8e17dfae874e5fcd4794a9eaa8f..7f21da7764a84974d673a70bd534b2c9d155ca05 100644 (file)
@@ -214,6 +214,9 @@ ifeq ($(HAS_SPI),1)
 endif
        make -C $(IBL_ROOT)/util/btoccs
        make -C $(IBL_ROOT)/util/romparse TARGET=$(TARGET)
+ifeq ($(HAS_I2C),1)
+       make -C $(IBL_ROOT)/util/i2cConfig $(TARGET) MAINDEFS='$(MAINDEFS) $(SPI_CFG)' 
+endif
        make -C $(IBL_ROOT)/util/bconvert
        make -C $(IBL_ROOT)/util/iblConfig/build EVM=$(EVM) I2C_MAP_ADDR=$(I2C_MAP_ADDR)