AnsweredAssumed Answered

imx6 bootable autoconf.mk about create a new MACRO

Question asked by Rudolph Hsueh on Jan 14, 2016
Latest reply on Jan 18, 2016 by alejandrolozano

Hi all,

     Recently, I tried to create a new MACRO which one is not exist in bootable named CONFIG_I2C_MULTI_BUS.

 

I found a file would be created during compile cycle. This file named autoconf.mk. It seems all of the MACRO are organized in this file.

 

Someone told me this file maybe collect all of the MACRO in header file. So I tried to add CONFIG_I2C_MULTI_BUS in a header file.

 

During compile is ongoing, I can see this CONFIG_I2C_MULTI_BUS MACRO was been added in autoconf.mk

 

But after a while, compile tell me error, and I check this file again. CONFIG_I2C_MULTI_BUS MACRO was gone. It makes me confuse.

 

Is there anyone add MACRO in bootable? I don't know how to add a MACRO in correct file. Please give me some direction to figure out it. Thank you.

Outcomes