Changeset 36227


Ignore:
Timestamp:
2013-04-06T18:55:25+02:00 (5 years ago)
Author:
juhosg
Message:

package/kernel: only include i2c-of if CONFIG_OF enabled

Signed-off-by: Gabor Juhos <juhosg@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/i2c.mk

    r36192 r36227  
    2323I2C_CORE_MODULES:= \ 
    2424  CONFIG_I2C:drivers/i2c/i2c-core \ 
    25   CONFIG_OF_I2C:drivers/of/of_i2c \ 
    2625  CONFIG_I2C_CHARDEV:drivers/i2c/i2c-dev 
     26 
     27ifeq (CONFIG_OF,y) 
     28  I2C_CORE_MODULES+=CONFIG_OF_I2C:drivers/of/of_i2c 
     29endif 
    2730 
    2831define KernelPackage/i2c-core 
Note: See TracChangeset for help on using the changeset viewer.