1.配置文件
在out\target\product\msm8909\obj\KERNEL_OBJ\.config中可以看到
# CONFIG_MTD_LPDDR is not set # CONFIG_MTD_UBI is not set CONFIG_DTC=y CONFIG_OF=y # # Device Tree and Open Firmware support # # CONFIG_PROC_DEVICETREE is not set # CONFIG_OF_SELFTEST is not set CONFIG_OF_FLATTREE=y CONFIG_OF_EARLY_FLATTREE=y CONFIG_OF_ADDRESS=y CONFIG_OF_IRQ=y CONFIG_OF_DEVICE=y CONFIG_OF_I2C=y CONFIG_OF_NET=y CONFIG_OF_MDIO=y CONFIG_OF_SPMI=y CONFIG_OF_MTD=y CONFIG_OF_SLIMBUS=y CONFIG_OF_BATTERYDATA=y CONFIG_OF_RESERVED_MEM=y ...但這個文件是自動生成的,應該主要是由\kernel\arch\arm\configs下的文件匯總的,但是沒有找到定義CONFIG_OF=y的源頭。